[evolution/gnome-2-26] Do not mark newly recognized Junk messages Read
- From: Milan Crha <mcrha src gnome org>
- To: svn-commits-list gnome org
- Subject: [evolution/gnome-2-26] Do not mark newly recognized Junk messages Read
- Date: Tue, 28 Apr 2009 07:43:40 -0400 (EDT)
commit b6e183c2c60c93f3eec6904cbb1e5d06a4376180
Author: Milan Crha <mcrha redhat com>
Date: Tue Apr 28 13:42:19 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 e478bba..7392b42 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]