aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-04-28 19:42:11 +0800
committerMilan Crha <mcrha@redhat.com>2009-04-28 19:42:11 +0800
commita08f6f0876fce40131c3915309591d775372f10c (patch)
tree5ed892fe9f8ca2b815274c96cf7d2f736bde2f21 /mail
parentaf5958acaa62952d7ad0b729ad477dbe570eab6d (diff)
downloadgsoc2013-evolution-a08f6f0876fce40131c3915309591d775372f10c.tar.gz
gsoc2013-evolution-a08f6f0876fce40131c3915309591d775372f10c.tar.zst
gsoc2013-evolution-a08f6f0876fce40131c3915309591d775372f10c.zip
Do not mark newly recognized Junk messages Read
** Fix for bug #579550
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog8
-rw-r--r--mail/mail-session.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 586cb1b7bf..97599a4a20 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,11 @@
+2009-04-28 Milan Crha <mcrha@redhat.com>
+
+ ** Fix for bug #579550
+
+ * mail-session.c: (main_get_filter_driver):
+ Do not mark messages recognized as junk Seen, to let user notice new
+ messages in a junk folder.
+
2009-04-27 Milan Crha <mcrha@redhat.com>
** Fix for bug #579635
diff --git a/mail/mail-session.c b/mail/mail-session.c
index 4997a29db0..e02ea41b55 100644
--- a/mail/mail-session.c
+++ b/mail/mail-session.c
@@ -544,7 +544,7 @@ main_get_filter_driver (CamelSession *session, const char *type, CamelException
if ((!strcmp (type, FILTER_SOURCE_INCOMING) || !strcmp (type, FILTER_SOURCE_JUNKTEST))
&& camel_session_check_junk (session)) {
/* implicit junk check as 1st rule */
- camel_filter_driver_add_rule (driver, "Junk check", "(junk-test)", "(begin (set-system-flag \"junk\")(set-system-flag \"seen\"))");
+ camel_filter_driver_add_rule (driver, "Junk check", "(junk-test)", "(begin (set-system-flag \"junk\"))");
}
if (strcmp (type, FILTER_SOURCE_JUNKTEST) != 0) {