diff options
author | Meilof Veeningen <meilof@wanadoo.nl> | 2004-01-13 06:22:50 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-01-13 06:22:50 +0800 |
commit | 2505d230498c0f35822e7d10502bb3f899fdf876 (patch) | |
tree | 3f187bc063daa0f0a99b248c6a2c4b613a184c95 /mail/mail-ops.c | |
parent | 39a61d9ccdf9d19a30d07a49c8d4919689845465 (diff) | |
download | gsoc2013-evolution-2505d230498c0f35822e7d10502bb3f899fdf876.tar.gz gsoc2013-evolution-2505d230498c0f35822e7d10502bb3f899fdf876.tar.zst gsoc2013-evolution-2505d230498c0f35822e7d10502bb3f899fdf876.zip |
support for posting both to mail and to (multiple) folders
2004-01-12 Meilof Veeningen <meilof@wanadoo.nl>
* em-composer-utils.c: support for posting both to mail and to
(multiple) folders
* em-folder-browser.c: use em_utils_post_to_folder (works with NNTP)
* em-folder-selection-button.[ch]: added multiple selection mode
* em-folder-selector.[ch]: idem
* em-folder-tree.[ch]: added multiple selection mode, no longer show
disabled accounts
* em-utils.c: various changes to allow posting to (multiple) folders
* em-subscribe-editor.c: double-clicking a node in the editor updates
it directly
* mail-ops.c: for appending messages, set the "X-Mailer" header
svn path=/trunk/; revision=24182
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r-- | mail/mail-ops.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c index 32eb68b4f1..380ba24d30 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -887,6 +887,10 @@ mail_append_mail (CamelFolder *folder, CamelMimeMessage *message, CamelMessageIn g_assert(CAMEL_IS_FOLDER (folder)); g_assert(CAMEL_IS_MIME_MESSAGE (message)); + if (!camel_medium_get_header (CAMEL_MEDIUM (message), "X-Mailer")) + camel_medium_set_header (CAMEL_MEDIUM (message), "X-Mailer", + "Ximian Evolution " VERSION SUB_VERSION " " VERSION_COMMENT); + m = mail_msg_new (&append_mail_op, NULL, sizeof (*m)); m->folder = folder; camel_object_ref(folder); |