diff options
-rw-r--r-- | mail/ChangeLog | 6 | ||||
-rw-r--r-- | mail/mail-autofilter.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index f5a25838eb..39b1c20ed4 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2001-02-07 Jeffrey Stedfast <fejj@ximian.com> + + * mail-autofilter.c (rule_add_subject): Use "contains" because the + subject might be broken into subparts and using the "is" rule will + then fail ;-) + 2001-02-08 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (mail_send_receive): diff --git a/mail/mail-autofilter.c b/mail/mail-autofilter.c index 4c354edfc8..8dea249bb2 100644 --- a/mail/mail-autofilter.c +++ b/mail/mail-autofilter.c @@ -133,7 +133,7 @@ rule_add_subject (RuleContext *context, FilterRule *rule, const char *text) part = rule_context_create_part (context, "subject"); filter_rule_add_part ((FilterRule *)rule, part); element = filter_part_find_element (part, "subject-type"); - filter_option_set_current ((FilterOption *)element, "is"); + filter_option_set_current ((FilterOption *)element, "contains"); element = filter_part_find_element (part, "subject"); filter_input_set_value ((FilterInput *)element, text); } |