diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-05-17 04:01:51 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-05-17 04:01:51 +0800 |
commit | 7cd27bf6a49c4b63bf95716a07c47f5cd9ce71df (patch) | |
tree | 16c18778dcc62dffa678fb5a2db949db2485ee14 /filter/filter-element.c | |
parent | 9d5f54f176d09cf81adeb02b4cfb0553100d4a1b (diff) | |
download | gsoc2013-evolution-7cd27bf6a49c4b63bf95716a07c47f5cd9ce71df.tar.gz gsoc2013-evolution-7cd27bf6a49c4b63bf95716a07c47f5cd9ce71df.tar.zst gsoc2013-evolution-7cd27bf6a49c4b63bf95716a07c47f5cd9ce71df.zip |
Added a label definition.
2002-05-16 Jeffrey Stedfast <fejj@ximian.com>
* vfoldertypes.xml: Added a label definition.
* filtertypes.xml: Added a label definition.
* filter-label.c: New filter widget for labels.
* filter-element.c (filter_element_new_type_name): Add support for
the new label widget.
* filter-int.c (format_sexp): Fixed a memory leak.
svn path=/trunk/; revision=16936
Diffstat (limited to 'filter/filter-element.c')
-rw-r--r-- | filter/filter-element.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/filter/filter-element.c b/filter/filter-element.c index 1d22da1839..db50013a39 100644 --- a/filter/filter-element.c +++ b/filter/filter-element.c @@ -37,6 +37,7 @@ #include "filter-folder.h" #include "filter-source.h" #include "filter-file.h" +#include "filter-label.h" static gboolean validate (FilterElement *fe); @@ -276,6 +277,8 @@ filter_element_new_type_name (const char *type) return (FilterElement *)filter_source_new (); } else if (!strcmp (type, "command")) { return (FilterElement *) filter_file_new_type_name (type); + } else if (!strcmp (type, "label")) { + return (FilterElement *) filter_label_new (); } else { g_warning("Unknown filter type '%s'", type); return 0; |