? makelog ? filters.patch ? filters/makelog ? xpm/pan-pixbufs-internal.h ? xpm/pan-pixbufs.h Index: filter-edit-ui.c =================================================================== RCS file: /cvs/gnome/pan/pan/filter-edit-ui.c,v retrieving revision 1.23 diff -u -u -r1.23 filter-edit-ui.c --- filter-edit-ui.c 29 Jan 2003 20:16:01 -0000 1.23 +++ filter-edit-ui.c 31 Jan 2003 21:42:04 -0000 @@ -341,7 +341,7 @@ { GtkWidget * active; PhraseKeyType key_type; - PhraseKeyType match_type; + int match_type; char * key; gboolean negate = FALSE; Index: filters/filter-phrase.c =================================================================== RCS file: /cvs/gnome/pan/pan/filters/filter-phrase.c,v retrieving revision 1.17 diff -u -u -r1.17 filter-phrase.c --- filters/filter-phrase.c 29 Jan 2003 22:42:47 -0000 1.17 +++ filters/filter-phrase.c 31 Jan 2003 21:42:04 -0000 @@ -60,15 +60,17 @@ case PHRASE_KEY_MESSAGE_ID: key_str = _("Message-ID"); break; case PHRASE_KEY_REFERENCES: key_str = _("References"); break; case PHRASE_KEY_XREF: key_str = _("Xref"); break; + default: g_warning ("Unrecognized key_type %d", phrase->key_type); } - if (negate) { + if (!negate) { switch (phrase->match_type) { case PHRASE_MATCH_CONTAINS: match_str = _("contains"); break; case PHRASE_MATCH_IS: match_str = _("is"); break; case PHRASE_MATCH_STARTS_WITH: match_str = _("starts with"); break; case PHRASE_MATCH_ENDS_WITH: match_str = _("ends with"); break; case PHRASE_MATCH_REGEX: match_str = _("matches regular expression"); break; + default: g_warning ("Unrecognized matck_type %d", phrase->match_type); } } else { switch (phrase->match_type) { @@ -77,6 +79,7 @@ case PHRASE_MATCH_STARTS_WITH: match_str = _("does not start with"); break; case PHRASE_MATCH_ENDS_WITH: match_str = _("does not end with"); break; case PHRASE_MATCH_REGEX: match_str = _("does not match regular expression"); break; + default: g_warning ("Unrecognized matck_type %d", phrase->match_type); } }