diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2000-09-28 04:20:53 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-09-28 04:20:53 +0800 |
commit | abd6186b370629d256780c022db5e303dad1ff41 (patch) | |
tree | 13a32fc7e126fe43c44be6c21c5fbbc480ab85fd /mail | |
parent | 0347b891ddc691fa888efa1bcd08a304235abf9b (diff) | |
download | gsoc2013-evolution-abd6186b370629d256780c022db5e303dad1ff41.tar.gz gsoc2013-evolution-abd6186b370629d256780c022db5e303dad1ff41.tar.zst gsoc2013-evolution-abd6186b370629d256780c022db5e303dad1ff41.zip |
Fix it so that "send later" will still mark a message as being replied,
2000-09-27 Jeffrey Stedfast <fejj@helixcode.com>
* mail-callbacks.c (composer_postpone_cb): Fix it so that "send
later" will still mark a message as being replied, forwarded,
whatever. Closes bug #568 on bugzilla.
svn path=/trunk/; revision=5602
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 6 | ||||
-rw-r--r-- | mail/mail-callbacks.c | 10 |
2 files changed, 16 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index d82f757481..a622d1ca41 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,11 @@ 2000-09-27 Jeffrey Stedfast <fejj@helixcode.com> + * mail-callbacks.c (composer_postpone_cb): Fix it so that "send + later" will still mark a message as being replied, forwarded, + whatever. Closes bug #568 on bugzilla. + +2000-09-27 Jeffrey Stedfast <fejj@helixcode.com> + * mail-ops.c (do_filter_ondemand): If the message has been deleted, don't try filtering it - skip to the next message. Fixes bugzilla bug #639. diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index c251f73ac2..b513e2478a 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -300,6 +300,7 @@ composer_postpone_cb (EMsgComposer *composer, gpointer data) /* FIXME: do we want to use post_send_data to set flags and stuff? */ extern CamelFolder *outbox_folder; CamelMimeMessage *message; + struct post_send_data *psd = data; const char *subject; /* Get the message */ @@ -316,6 +317,15 @@ composer_postpone_cb (EMsgComposer *composer, gpointer data) /* Save the message in Outbox */ mail_do_append_mail (outbox_folder, message, NULL); + + if (psd) { + guint32 set; + + set = camel_folder_get_message_flags (psd->folder, psd->uid); + camel_folder_set_message_flags (psd->folder, psd->uid, + psd->flags, psd->flags); + } + gtk_widget_destroy (GTK_WIDGET (composer)); } |