aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--filter/ChangeLog7
-rw-r--r--filter/filter-system-flag.c8
2 files changed, 11 insertions, 4 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog
index c35e870e39..a1b483dc4a 100644
--- a/filter/ChangeLog
+++ b/filter/ChangeLog
@@ -1,3 +1,10 @@
+2001-01-04 Jeffrey Stedfast <fejj@helixcode.com>
+
+ * filter-system-flag.c: comment out some of the system flags as we
+ don't want to use them.
+ (xml_encode): Update the printf
+ (get_widget): Use strcmp instead of g_strcasecmp.
+
2001-01-02 Lauris Kaplinski <lauris@helixcode.com>
* filter-input.c (xml_encode): Encode utf8
diff --git a/filter/filter-system-flag.c b/filter/filter-system-flag.c
index abf3739f37..f1eb2a5b10 100644
--- a/filter/filter-system-flag.c
+++ b/filter/filter-system-flag.c
@@ -61,8 +61,8 @@ struct _system_flag {
char *value;
} system_flags[] = {
{ _("Replied to"), "Answered" },
- { _("Deleted"), "Deleted" },
- { _("Draft"), "Draft" },
+ /*{ _("Deleted"), "Deleted" },*/
+ /*{ _("Draft"), "Draft" },*/
{ _("Important"), "Flagged" },
{ _("Read"), "Seen" },
{ NULL, NULL }
@@ -170,7 +170,7 @@ xml_encode (FilterElement *fe)
FilterSystemFlag *fsf = (FilterSystemFlag *) fe;
xmlNodePtr value;
- d(printf ("Encoding %s as xml\n", type));
+ d(printf ("Encoding system-flag as xml\n"));
value = xmlNewNode (NULL, "value");
xmlSetProp (value, "name", fe->name);
xmlSetProp (value, "type", "system-flag");
@@ -228,7 +228,7 @@ get_widget (FilterElement *fe)
gtk_signal_connect (GTK_OBJECT (item), "select", item_selected, fe);
gtk_menu_append (GTK_MENU (menu), item);
gtk_widget_show (item);
- if (!g_strcasecmp (fsf->value, flag->value))
+ if (!strcmp (fsf->value, flag->value))
current = index;
index++;
}