[evolution] Do not mark newly recognized Junk messages Read
- From: Milan Crha <mcrha src gnome org>
- To: svn-commits-list gnome org
- Subject: [evolution] Do not mark newly recognized Junk messages Read
- Date: Tue, 28 Apr 2009 07:43:23 -0400 (EDT)
commit a08f6f0876fce40131c3915309591d775372f10c
Author: Milan Crha <mcrha redhat com>
Date: Tue Apr 28 13:42:11 2009 +0200
Do not mark newly recognized Junk messages Read
** Fix for bug #579550
---
mail/ChangeLog | 8 ++++++++
mail/mail-session.c | 2 +-
2 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 586cb1b..97599a4 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 4997a29..e02ea41 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) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]