EMsgComposer - Set the headers that are used when saving a message as draft just is that case

This commit is contained in:
Tomas Popela
2014-10-23 13:29:59 +02:00
parent c4b796ac50
commit 08b2f8686d

View File

@ -1218,14 +1218,6 @@ composer_build_message (EMsgComposer *composer,
g_free (encoded_organization);
}
/* X-Evolution-Format */
composer_add_evolution_format_header (
CAMEL_MEDIUM (context->message), flags);
/* X-Evolution-Composer-Mode */
composer_add_evolution_composer_mode_header (
CAMEL_MEDIUM (context->message), composer);
if (flags & COMPOSER_FLAG_SAVE_DRAFT) {
gchar *text;
EHTMLEditor *editor;
@ -1236,6 +1228,14 @@ composer_build_message (EMsgComposer *composer,
view = e_html_editor_get_view (editor);
selection = e_html_editor_view_get_selection (view);
/* X-Evolution-Format */
composer_add_evolution_format_header (
CAMEL_MEDIUM (context->message), flags);
/* X-Evolution-Composer-Mode */
composer_add_evolution_composer_mode_header (
CAMEL_MEDIUM (context->message), composer);
data = g_byte_array_new ();
e_html_editor_view_embed_styles (view);