aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-02-08 20:48:52 +0800
committerMilan Crha <mcrha@redhat.com>2012-02-08 20:48:52 +0800
commit87eac1e1daf02e2fbaf52c455263cab5e30939af (patch)
treeb47f07c3378be2cbd4f07d7b028ca138263e0ba4 /mail
parent569cdde1969873a46b8674223343c51342db8771 (diff)
downloadgsoc2013-evolution-87eac1e1daf02e2fbaf52c455263cab5e30939af.tar
gsoc2013-evolution-87eac1e1daf02e2fbaf52c455263cab5e30939af.tar.gz
gsoc2013-evolution-87eac1e1daf02e2fbaf52c455263cab5e30939af.tar.bz2
gsoc2013-evolution-87eac1e1daf02e2fbaf52c455263cab5e30939af.tar.lz
gsoc2013-evolution-87eac1e1daf02e2fbaf52c455263cab5e30939af.tar.xz
gsoc2013-evolution-87eac1e1daf02e2fbaf52c455263cab5e30939af.tar.zst
gsoc2013-evolution-87eac1e1daf02e2fbaf52c455263cab5e30939af.zip
Bug #384838 - Filter editor should default to "AND" instead of "OR"
Diffstat (limited to 'mail')
-rw-r--r--mail/mail-autofilter.c4
1 files 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 : "";