diff options
author | Dan Winship <danw@src.gnome.org> | 2001-05-18 02:52:47 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-05-18 02:52:47 +0800 |
commit | e435c042d08e5b3a46889bd7fafd1ef0f28bc734 (patch) | |
tree | 998b3dd19a97a1d5a46f5fef24c5e8d6b788eddc /mail | |
parent | 70c02ec888c655e87d675702495336188d67721e (diff) | |
download | gsoc2013-evolution-e435c042d08e5b3a46889bd7fafd1ef0f28bc734.tar.gz gsoc2013-evolution-e435c042d08e5b3a46889bd7fafd1ef0f28bc734.tar.zst gsoc2013-evolution-e435c042d08e5b3a46889bd7fafd1ef0f28bc734.zip |
mark Outbox messages as read.
* mail-callbacks.c (composer_postpone_cb): mark Outbox messages as
read.
svn path=/trunk/; revision=9873
Diffstat (limited to 'mail')
-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); |