aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-callbacks.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 32f23c2b08..b594aa5974 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2001-04-11 Dan Winship <danw@ximian.com>
+
+ * mail-callbacks.c (do_view_message): mark messages as seen when
+ opening then in a separate window.
+
2001-04-11 Jeffrey Stedfast <fejj@ximian.com>
* openpgp-utils.c (openpgp_encrypt): Don't g_free the recipient
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);
}