diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-autofilter.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 88f95297a2..aca1bb2435 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2000-10-23 Jeffrey Stedfast <fejj@helixcode.com> + + * mail-autofilter.c (filter_gui_add_from_message): Don't forget to + set the rule source! (eg "incoming", "demand", or "outgoing") + 2000-10-22 Ettore Perazzoli <ettore@helixcode.com> * message-list.c (message_list_init): Always display the vertical diff --git a/mail/mail-autofilter.c b/mail/mail-autofilter.c index 6b41e87d2e..4070f5fc4e 100644 --- a/mail/mail-autofilter.c +++ b/mail/mail-autofilter.c @@ -281,6 +281,10 @@ filter_gui_add_from_message(CamelMimeMessage *msg, int flags) systemrules = g_strdup_printf("%s/evolution/filtertypes.xml", EVOLUTION_DATADIR); rule_context_load((RuleContext *)fc, systemrules, userrules); rule = filter_rule_from_message(fc, msg, flags); + + /* FIXME: with demand filters being abandoned, do we still care about source? */ + filter_rule_set_source (rule, FILTER_SOURCE_INCOMING); + rule_context_add_rule_gui((RuleContext *)fc, rule, _("Add Filter Rule"), userrules); g_free (userrules); g_free (systemrules); |