aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-05-07 05:17:05 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-05-07 05:17:05 +0800
commit0425bffaf1c34bb5a547ceacc64ba6b71a005ac0 (patch)
treef4ca1924c2ad9b7626ca52ee5c89a67fdcdeea02 /mail
parentbf8e5274dd9eb28db28f7542b838b3c1e46d206f (diff)
downloadgsoc2013-evolution-0425bffaf1c34bb5a547ceacc64ba6b71a005ac0.tar
gsoc2013-evolution-0425bffaf1c34bb5a547ceacc64ba6b71a005ac0.tar.gz
gsoc2013-evolution-0425bffaf1c34bb5a547ceacc64ba6b71a005ac0.tar.bz2
gsoc2013-evolution-0425bffaf1c34bb5a547ceacc64ba6b71a005ac0.tar.lz
gsoc2013-evolution-0425bffaf1c34bb5a547ceacc64ba6b71a005ac0.tar.xz
gsoc2013-evolution-0425bffaf1c34bb5a547ceacc64ba6b71a005ac0.tar.zst
gsoc2013-evolution-0425bffaf1c34bb5a547ceacc64ba6b71a005ac0.zip
Set the Seen flag as well since it's safe to assume that if the user has
2002-05-06 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mail_reply): Set the Seen flag as well since it's safe to assume that if the user has replied to an email message that he has read it. Not always true, but usually ;-) svn path=/trunk/; revision=16693
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog4
-rw-r--r--mail/mail-callbacks.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index a21bd6d22a..61c2891b8a 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,9 @@
2002-05-06 Jeffrey Stedfast <fejj@ximian.com>
+ * mail-callbacks.c (mail_reply): Set the Seen flag as well since
+ it's safe to assume that if the user has replied to an email
+ message that he has read it. Not always true, but usually ;-)
+
* folder-browser.c (on_right_click): If we are in a
Sent/Drafts/Outbox folder, don't show the "Add Sender to
Addressbook" menu item.
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index 067fb50564..dc61f7267d 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -1081,8 +1081,8 @@ mail_reply (CamelFolder *folder, CamelMimeMessage *msg, const char *uid, int mod
psd->folder = folder;
camel_object_ref (CAMEL_OBJECT (psd->folder));
psd->uid = g_strdup (uid);
- psd->flags = CAMEL_MESSAGE_ANSWERED;
- psd->set = CAMEL_MESSAGE_ANSWERED;
+ psd->flags = CAMEL_MESSAGE_ANSWERED | CAMEL_MESSAGE_SEEN;
+ psd->set = CAMEL_MESSAGE_ANSWERED | CAMEL_MESSAGE_SEEN;
composer = mail_generate_reply (folder, msg, uid, mode);
if (!composer)