From 5e15f4ae88a99e73a1353534ff5630526609dcd3 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 8 Feb 2001 03:51:34 +0000 Subject: Use "contains" because the subject might be broken into subparts and using 2001-02-07 Jeffrey Stedfast * mail-autofilter.c (rule_add_subject): Use "contains" because the subject might be broken into subparts and using the "is" rule will then fail ;-) svn path=/trunk/; revision=8101 --- mail/ChangeLog | 6 ++++++ mail/mail-autofilter.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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 + + * 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 * 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); } -- cgit v1.2.3