Use "contains" because the subject might be broken into subparts and using
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 ;-) svn path=/trunk/; revision=8101
This commit is contained in:
committed by
Jeffrey Stedfast
parent
fc1cb88c14
commit
5e15f4ae88
@ -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):
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user