aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-autofilter.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-02-08 11:51:34 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-02-08 11:51:34 +0800
commit5e15f4ae88a99e73a1353534ff5630526609dcd3 (patch)
tree1f1f92d2419ff1df4b599088ff21d33a420ed738 /mail/mail-autofilter.c
parentfc1cb88c1411eb6f08e95a7f3bd4b207be9f974f (diff)
downloadgsoc2013-evolution-5e15f4ae88a99e73a1353534ff5630526609dcd3.tar.gz
gsoc2013-evolution-5e15f4ae88a99e73a1353534ff5630526609dcd3.tar.zst
gsoc2013-evolution-5e15f4ae88a99e73a1353534ff5630526609dcd3.zip
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
Diffstat (limited to 'mail/mail-autofilter.c')
-rw-r--r--mail/mail-autofilter.c2
1 files changed, 1 insertions, 1 deletions
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);
}