aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-callbacks.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-04-12 06:46:13 +0800
committerDan Winship <danw@src.gnome.org>2001-04-12 06:46:13 +0800
commit3ddac6f76ac6cabf99253abd852ca023d3aa3a21 (patch)
tree1fa8845ace3ebd7ddf96305262b55d3141bbf6fe /mail/mail-callbacks.c
parentec65555bc063746af1b1be7178f0f8017eb5e9ea (diff)
downloadgsoc2013-evolution-3ddac6f76ac6cabf99253abd852ca023d3aa3a21.tar
gsoc2013-evolution-3ddac6f76ac6cabf99253abd852ca023d3aa3a21.tar.gz
gsoc2013-evolution-3ddac6f76ac6cabf99253abd852ca023d3aa3a21.tar.bz2
gsoc2013-evolution-3ddac6f76ac6cabf99253abd852ca023d3aa3a21.tar.lz
gsoc2013-evolution-3ddac6f76ac6cabf99253abd852ca023d3aa3a21.tar.xz
gsoc2013-evolution-3ddac6f76ac6cabf99253abd852ca023d3aa3a21.tar.zst
gsoc2013-evolution-3ddac6f76ac6cabf99253abd852ca023d3aa3a21.zip
mark messages as seen when opening then in a separate window.
* mail-callbacks.c (do_view_message): mark messages as seen when opening then in a separate window. svn path=/trunk/; revision=9256
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r--mail/mail-callbacks.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index 2c0815073a..6335c30c85 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -1404,6 +1404,7 @@ do_view_message(CamelFolder *folder, char *uid, CamelMimeMessage *message, void
GtkWidget *view;
if (message) {
+ camel_folder_set_message_flags (folder, uid, CAMEL_MESSAGE_SEEN, CAMEL_MESSAGE_SEEN);
view = mail_view_create(folder, uid, message);
gtk_widget_show(view);
}