From 7e4c61d7b8a5d1793f9845dc29815aeaab23ed0c Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 11 Jul 2000 20:24:24 +0000 Subject: Set the post_send_data flag rather than toggling it. (Maybe we'll need * mail-ops.c (real_send_mail): Set the post_send_data flag rather than toggling it. (Maybe we'll need more control over it later, but for now, the only flag we set is "replied", and we want that set, not toggled.) svn path=/trunk/; revision=4096 --- mail/ChangeLog | 7 +++++++ mail/mail-ops.c | 7 ++----- 2 files changed, 9 insertions(+), 5 deletions(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 13c5e1655a..5ad82a8c6d 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,10 @@ +2000-07-11 Dan Winship + + * mail-ops.c (real_send_mail): Set the post_send_data flag rather + than toggling it. (Maybe we'll need more control over it later, + but for now, the only flag we set is "replied", and we want + that set, not toggled.) + 2000-07-10 Dan Winship * folder-browser-factory.c (control_activate): Work with both diff --git a/mail/mail-ops.c b/mail/mail-ops.c index e8e7bf97c7..e961d794f2 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -445,12 +445,9 @@ real_send_mail (gpointer user_data) info->ok = FALSE; } else { if (psd) { - guint32 set; - - set = camel_folder_get_message_flags (psd->folder, - psd->uid, ex); camel_folder_set_message_flags (psd->folder, psd->uid, - psd->flags, ~set, ex); + psd->flags, psd->flags, + ex); } info->ok = TRUE; -- cgit