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/mail-callbacks.c | |
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/mail-callbacks.c')
-rw-r--r-- | mail/mail-callbacks.c | 6 |
1 files changed, 5 insertions, 1 deletions
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); |