aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-autofilter.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-09-12 23:22:31 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-09-12 23:22:31 +0800
commit5994bc5006075c88b81f378ed858fdc7ac00f8bc (patch)
treee24789c067c2f5d168cd041385a4d990aee69686 /mail/mail-autofilter.c
parent497e2144ace593643f64eb4dfd48f691d205521b (diff)
downloadgsoc2013-evolution-5994bc5006075c88b81f378ed858fdc7ac00f8bc.tar
gsoc2013-evolution-5994bc5006075c88b81f378ed858fdc7ac00f8bc.tar.gz
gsoc2013-evolution-5994bc5006075c88b81f378ed858fdc7ac00f8bc.tar.bz2
gsoc2013-evolution-5994bc5006075c88b81f378ed858fdc7ac00f8bc.tar.lz
gsoc2013-evolution-5994bc5006075c88b81f378ed858fdc7ac00f8bc.tar.xz
gsoc2013-evolution-5994bc5006075c88b81f378ed858fdc7ac00f8bc.tar.zst
gsoc2013-evolution-5994bc5006075c88b81f378ed858fdc7ac00f8bc.zip
For additional coolness, display the name of the mailing list in the
right-click menu. Also, make the action box appear in the filter dialog and fix a stupid cut & paste bug that prevented the code from checking for the right headers. svn path=/trunk/; revision=5365
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 2b46f4288e..e7c9f8997c 100644
--- a/mail/mail-autofilter.c
+++ b/mail/mail-autofilter.c
@@ -311,7 +311,7 @@ filter_gui_add_for_mailing_list (CamelMimeMessage *msg,
systemrules = g_strdup_printf("%s/evolution/filtertypes.xml", EVOLUTION_DATADIR);
rule_context_load((RuleContext *)fc, systemrules, userrules, NULL, NULL);
- rule = filter_rule_new ();
+ rule = (FilterRule *) filter_filter_new ();
part = rule_context_create_part((RuleContext *)fc, "header");
filter_rule_add_part((FilterRule *)rule, part);