aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-element.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-03-18 04:50:06 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-03-18 04:50:06 +0800
commit4c484d753682720b8152f44e1147fe2b48266812 (patch)
tree683e164c93612be5d4824e6261871e1093fa7837 /filter/filter-element.c
parentb167baaa3d914d634d72864baab45d1a3184779c (diff)
downloadgsoc2013-evolution-4c484d753682720b8152f44e1147fe2b48266812.tar
gsoc2013-evolution-4c484d753682720b8152f44e1147fe2b48266812.tar.gz
gsoc2013-evolution-4c484d753682720b8152f44e1147fe2b48266812.tar.bz2
gsoc2013-evolution-4c484d753682720b8152f44e1147fe2b48266812.tar.lz
gsoc2013-evolution-4c484d753682720b8152f44e1147fe2b48266812.tar.xz
gsoc2013-evolution-4c484d753682720b8152f44e1147fe2b48266812.tar.zst
gsoc2013-evolution-4c484d753682720b8152f44e1147fe2b48266812.zip
If the filter type is a "system-flag", use the optionlist type as type
2001-03-17 Jeffrey Stedfast <fejj@ximian.com> * filter-element.c (filter_element_new_type_name): If the filter type is a "system-flag", use the optionlist type as type system-flag has been removed. This should allow backward compatability. svn path=/trunk/; revision=8785
Diffstat (limited to 'filter/filter-element.c')
-rw-r--r--filter/filter-element.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/filter-element.c b/filter/filter-element.c
index 28841ab837..cbc2c009f9 100644
--- a/filter/filter-element.c
+++ b/filter/filter-element.c
@@ -257,7 +257,7 @@ filter_element_new_type_name (const char *type)
return (FilterElement *)filter_code_new ();
} else if (!strcmp (type, "colour")) {
return (FilterElement *)filter_colour_new ();
- } else if (!strcmp (type, "optionlist")) {
+ } else if (!strcmp (type, "optionlist") || !strcmp (type, "system-flag")) {
return (FilterElement *)filter_option_new ();
} else if (!strcmp (type, "datespec")) {
return (FilterElement *)filter_datespec_new ();