aboutsummaryrefslogtreecommitdiffstats
path: root/mail
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
parentfc1cb88c1411eb6f08e95a7f3bd4b207be9f974f (diff)
downloadgsoc2013-evolution-5e15f4ae88a99e73a1353534ff5630526609dcd3.tar
gsoc2013-evolution-5e15f4ae88a99e73a1353534ff5630526609dcd3.tar.gz
gsoc2013-evolution-5e15f4ae88a99e73a1353534ff5630526609dcd3.tar.bz2
gsoc2013-evolution-5e15f4ae88a99e73a1353534ff5630526609dcd3.tar.lz
gsoc2013-evolution-5e15f4ae88a99e73a1353534ff5630526609dcd3.tar.xz
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')
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/mail-autofilter.c2
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);
}