aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-view.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-02-27 03:51:15 +0800
committerDan Winship <danw@src.gnome.org>2001-02-27 03:51:15 +0800
commit43f2a52819c061bd0df80388d3877df508590485 (patch)
treefdf4427cbe7817517e675510e0c6218329d28624 /mail/mail-view.c
parent1aba985def3755dbc5f9c49caee5207aa80e5d94 (diff)
downloadgsoc2013-evolution-43f2a52819c061bd0df80388d3877df508590485.tar
gsoc2013-evolution-43f2a52819c061bd0df80388d3877df508590485.tar.gz
gsoc2013-evolution-43f2a52819c061bd0df80388d3877df508590485.tar.bz2
gsoc2013-evolution-43f2a52819c061bd0df80388d3877df508590485.tar.lz
gsoc2013-evolution-43f2a52819c061bd0df80388d3877df508590485.tar.xz
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-view.c')
-rw-r--r--mail/mail-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-view.c b/mail/mail-view.c
index c923799e83..320ad9510d 100644
--- a/mail/mail-view.c
+++ b/mail/mail-view.c
@@ -120,7 +120,7 @@ view_delete_msg (GtkWidget *button, gpointer user_data)
{
mail_view_data *data = (mail_view_data *) user_data;
- camel_folder_set_message_flags(data->source, data->uid, CAMEL_MESSAGE_DELETED, CAMEL_MESSAGE_DELETED);
+ camel_folder_set_message_flags(data->source, data->uid, CAMEL_MESSAGE_DELETED | CAMEL_MESSAGE_SEEN, CAMEL_MESSAGE_DELETED | CAMEL_MESSAGE_SEEN);
}
static void