[evolution] EMsgComposer - Draft of a HTML mail is saved with plain/text X-Evolution-Format header



commit 30e1f2549e332d676ff330ce12e4c3479914021e
Author: Tomas Popela <tpopela redhat com>
Date:   Wed Feb 4 12:05:20 2015 +0100

    EMsgComposer - Draft of a HTML mail is saved with plain/text X-Evolution-Format header

 composer/e-msg-composer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index f8ec4b1..50400f1 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -1045,7 +1045,7 @@ composer_add_evolution_format_header (CamelMedium *medium,
 
        string = g_string_sized_new (128);
 
-       if (flags & COMPOSER_FLAG_HTML_CONTENT)
+       if ((flags & COMPOSER_FLAG_HTML_CONTENT) || (flags & COMPOSER_FLAG_SAVE_DRAFT))
                g_string_append (string, "text/html");
        else
                g_string_append (string, "text/plain");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]