diff options
author | 5 <rodo@ximian.com> | 2004-02-26 02:40:29 +0800 |
---|---|---|
committer | Radek Doulik <rodo@src.gnome.org> | 2004-02-26 02:40:29 +0800 |
commit | 09070e7446a8044fc7848aae6608de2547b5025b (patch) | |
tree | 7d1b0ce5204a1f46dd60365c0ae2cbb383d05e36 /mail | |
parent | 07d79a59b846be023a737414da0e73bf8612e985 (diff) | |
download | gsoc2013-evolution-09070e7446a8044fc7848aae6608de2547b5025b.tar.gz gsoc2013-evolution-09070e7446a8044fc7848aae6608de2547b5025b.tar.zst gsoc2013-evolution-09070e7446a8044fc7848aae6608de2547b5025b.zip |
set seen flag for junk messages
2004-02-25 <rodo@ximian.com>
* mail-session.c (main_get_filter_driver): set seen flag for junk
messages
svn path=/trunk/; revision=24867
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 3 | ||||
-rw-r--r-- | mail/mail-session.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 96d1be7166..0c3d3c1b81 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,8 @@ 2004-02-25 <rodo@ximian.com> + * mail-session.c (main_get_filter_driver): set seen flag for junk + messages + * em-folder-view.c (emfv_popup_mark_junk): do not set DELETED 2004-02-24 Jeffrey Stedfast <fejj@ximian.com> diff --git a/mail/mail-session.c b/mail/mail-session.c index e6979061e7..ee7afdea94 100644 --- a/mail/mail-session.c +++ b/mail/mail-session.c @@ -630,7 +630,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\"))"); + camel_filter_driver_add_rule (driver, "Junk check", "(junk-test)", "(begin (set-system-flag \"junk\")(set-system-flag \"seen\"))"); } if (strcmp (type, FILTER_SOURCE_JUNKTEST) != 0) { |