aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--filter/ChangeLog5
-rw-r--r--filter/filter-element.c2
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 ();
an class='insertions'>+2 * - Kick MD5 Supportmiwi2011-07-031-1/+0 * Change maintainer address for my portsrea2010-11-281-1/+1 * - update to 1.4.1dinoex2010-03-281-1/+1 * - update to jpeg-8dinoex2010-02-051-1/+1 * - bump all port that indirectly depends on libjpeg and have not yet been bump...dinoex2009-07-311-1/+1 * japanese/font-std, chinese/font-std, and dependency fixups duehrs2009-05-312-4/+4 * - depends on cups-imagedinoex2009-05-191-1/+1