From 66b0d503f52905b2f8d585aae20533b5dd063330 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 4 Jan 2001 06:52:22 +0000 Subject: comment out some of the system flags as we don't want to use them. 2001-01-04 Jeffrey Stedfast * 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. svn path=/trunk/; revision=7244 --- filter/ChangeLog | 7 +++++++ filter/filter-system-flag.c | 8 ++++---- 2 files changed, 11 insertions(+), 4 deletions(-) (limited to 'filter') 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 + + * 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 * 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++; } -- cgit v1.2.3