diff options
-rw-r--r-- | filter/ChangeLog | 5 | ||||
-rw-r--r-- | filter/filter-element.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog index bef78356a1..af70a59ec7 100644 --- a/filter/ChangeLog +++ b/filter/ChangeLog @@ -1,5 +1,10 @@ 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. + * filter-editor.c (filter_editor_construct): Remove the menu that is in the glade file because we want to replace it with our menu, not append items to that menu. 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 (); |