diff options
author | Dan Winship <danw@src.gnome.org> | 2001-02-27 03:51:15 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-02-27 03:51:15 +0800 |
commit | 43f2a52819c061bd0df80388d3877df508590485 (patch) | |
tree | fdf4427cbe7817517e675510e0c6218329d28624 /mail/mail-callbacks.c | |
parent | 1aba985def3755dbc5f9c49caee5207aa80e5d94 (diff) | |
download | gsoc2013-evolution-43f2a52819c061bd0df80388d3877df508590485.tar.gz gsoc2013-evolution-43f2a52819c061bd0df80388d3877df508590485.tar.zst gsoc2013-evolution-43f2a52819c061bd0df80388d3877df508590485.zip |
Mark deleted messages as "seen" as well so they don't count towards the
* mail-callbacks.c (delete_msg): Mark deleted messages as "seen"
as well so they don't count towards the unread count.
* mail-view.c (view_delete_msg): ditto
svn path=/trunk/; revision=8392
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r-- | mail/mail-callbacks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index ca4a484ef3..1cbb3c2783 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -1050,7 +1050,7 @@ save_msg (GtkWidget *widget, gpointer user_data) void delete_msg (GtkWidget *button, gpointer user_data) { - flag_messages(FOLDER_BROWSER(user_data), CAMEL_MESSAGE_DELETED, CAMEL_MESSAGE_DELETED); + flag_messages(FOLDER_BROWSER(user_data), CAMEL_MESSAGE_DELETED | CAMEL_MESSAGE_SEEN, CAMEL_MESSAGE_DELETED | CAMEL_MESSAGE_SEEN); } void |