aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/mail-callbacks.c10
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));
}