From becfb9e15d99117c99280248fc42959fc9d13242 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Mon, 5 Aug 2002 13:38:19 +0000 Subject: Only reply to all or reply to list, set CAMEL_MESSAGE_ANSWERED_ALL too. * mail-callbacks.c (mail_reply): Only reply to all or reply to list, set CAMEL_MESSAGE_ANSWERED_ALL too. svn path=/trunk/; revision=17695 --- mail/ChangeLog | 5 +++++ mail/mail-callbacks.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index 27028f7298..e9008f413a 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2002-08-05 Dan Winship + + * mail-callbacks.c (mail_reply): Only reply to all or reply to + list, set CAMEL_MESSAGE_ANSWERED_ALL too. + 2002-08-02 Jeffrey Stedfast * message-tag-followup.c (construct): Set the default flag to diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index 18dcc6b206..49bc245759 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -1156,7 +1156,9 @@ mail_reply (CamelFolder *folder, CamelMimeMessage *msg, const char *uid, int mod camel_object_ref (CAMEL_OBJECT (psd->folder)); psd->uid = g_strdup (uid); psd->flags = CAMEL_MESSAGE_ANSWERED | CAMEL_MESSAGE_SEEN; - psd->set = CAMEL_MESSAGE_ANSWERED | CAMEL_MESSAGE_SEEN; + if (mode == REPLY_LIST || mode == REPLY_ALL) + psd->flags |= CAMEL_MESSAGE_ANSWERED_ALL; + psd->set = psd->flags; composer = mail_generate_reply (folder, msg, uid, mode); if (!composer) -- cgit v1.2.3