diff options
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-callbacks.c | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index efda2ff2fe..dcc8de6fd0 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2001-05-17 Dan Winship <danw@ximian.com> + + * mail-callbacks.c (composer_postpone_cb): mark Outbox messages as + read. + 2001-05-17 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (mail_write_authenticity): New convenience diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index b62aa990f0..778dc5f043 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -373,14 +373,18 @@ composer_postpone_cb (EMsgComposer *composer, gpointer data) { extern CamelFolder *outbox_folder; CamelMimeMessage *message; + CamelMessageInfo *info; struct post_send_data *psd = data; message = composer_get_message (composer); if (message == NULL) return; + info = camel_message_info_new (); + info->flags = CAMEL_MESSAGE_SEEN; - mail_append_mail (outbox_folder, message, NULL, NULL, NULL); + mail_append_mail (outbox_folder, message, info, NULL, NULL); camel_object_unref (CAMEL_OBJECT (message)); + camel_message_info_free (info); if (psd) { camel_folder_set_message_flags (psd->folder, psd->uid, psd->flags, psd->flags); |