aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-autofilter.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2003-12-03 08:27:52 +0800
committerMichael Zucci <zucchi@src.gnome.org>2003-12-03 08:27:52 +0800
commit33efd90a82fbbbfb3f7645a149cfbfed471596fb (patch)
tree585cb9db9a30643a658bcf7564ded0b2d7cb928e /mail/mail-autofilter.c
parentccd5cdcf82c299aba622da4f5f87347aea93d99c (diff)
downloadgsoc2013-evolution-33efd90a82fbbbfb3f7645a149cfbfed471596fb.tar
gsoc2013-evolution-33efd90a82fbbbfb3f7645a149cfbfed471596fb.tar.gz
gsoc2013-evolution-33efd90a82fbbbfb3f7645a149cfbfed471596fb.tar.bz2
gsoc2013-evolution-33efd90a82fbbbfb3f7645a149cfbfed471596fb.tar.lz
gsoc2013-evolution-33efd90a82fbbbfb3f7645a149cfbfed471596fb.tar.xz
gsoc2013-evolution-33efd90a82fbbbfb3f7645a149cfbfed471596fb.tar.zst
gsoc2013-evolution-33efd90a82fbbbfb3f7645a149cfbfed471596fb.zip
changed to setup the rule part properly, it could never have worked. Bug
2003-12-03 Not Zed <NotZed@Ximian.com> * mail-autofilter.c (rule_match_thread): changed to setup the rule part properly, it could never have worked. Bug #51601. * em-popup.c (emp_uri_popup_address_add): implement. * em-folder-view.c (emfv_popup_add_sender): implement. (emfv_add_sender_addressbook): hook up to above func. * em-utils.c (em_utils_add_address): implementation to add an email address to the addressbook. (emu_add_address_cb): callback required for funny api. Bug #51321. svn path=/trunk/; revision=23592
Diffstat (limited to 'mail/mail-autofilter.c')
-rw-r--r--mail/mail-autofilter.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/mail-autofilter.c b/mail/mail-autofilter.c
index 17d5f485d8..79ab30f5dd 100644
--- a/mail/mail-autofilter.c
+++ b/mail/mail-autofilter.c
@@ -236,8 +236,11 @@ rule_match_thread (RuleContext *context, FilterRule *rule, const char *msgid)
element = filter_part_find_element (part, "header-type");
filter_option_set_current ((FilterOption *) element, "contains");
+
+ element = filter_part_find_element (part, "header-field");
+ filter_input_set_value ((FilterInput *) element, "References");
- element = filter_part_find_element (part, "header");
+ element = filter_part_find_element (part, "word");
filter_input_set_value ((FilterInput *) element, msgid);
}