From 0425bffaf1c34bb5a547ceacc64ba6b71a005ac0 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 6 May 2002 21:17:05 +0000 Subject: Set the Seen flag as well since it's safe to assume that if the user has 2002-05-06 Jeffrey Stedfast * 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 --- mail/ChangeLog | 4 ++++ mail/mail-callbacks.c | 4 ++-- 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 + * 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) -- cgit v1.2.3