From 87eac1e1daf02e2fbaf52c455263cab5e30939af Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Wed, 8 Feb 2012 13:48:52 +0100 Subject: Bug #384838 - Filter editor should default to "AND" instead of "OR" --- mail/mail-autofilter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mail/mail-autofilter.c b/mail/mail-autofilter.c index 08e3a3d937..1a6a7c831d 100644 --- a/mail/mail-autofilter.c +++ b/mail/mail-autofilter.c @@ -216,7 +216,7 @@ rule_from_address (EFilterRule *rule, CamelInternetAddress *addr, gint flags) { - rule->grouping = E_FILTER_GROUP_ANY; + rule->grouping = E_FILTER_GROUP_ALL; if (flags & AUTO_FROM) { const gchar *name, *address; @@ -244,7 +244,7 @@ rule_from_message (EFilterRule *rule, { CamelInternetAddress *addr; - rule->grouping = E_FILTER_GROUP_ANY; + rule->grouping = E_FILTER_GROUP_ALL; if (flags & AUTO_SUBJECT) { const gchar *subject = msg->subject ? msg->subject : ""; -- cgit v1.2.3