[evolution] Bug 740754 - Opening just Draft with attachments shows HTML code



commit ec476d7ffc22c1c54c0cf0b8143c3e495c20ed92
Author: Tomas Popela <tpopela redhat com>
Date:   Wed Nov 26 16:00:39 2014 +0100

    Bug 740754 - Opening just Draft with attachments shows HTML code
    
    Ask for content type of part otherwise we will pass the HTML code as
    a plain text one.

 composer/e-msg-composer.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 3604f29..1c66275 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -3078,6 +3078,7 @@ handle_multipart (EMsgComposer *composer,
                        editor = e_msg_composer_get_editor (composer);
                        is_message_from_draft = e_html_editor_view_is_message_from_draft (
                                e_html_editor_get_view (editor));
+                       is_html = camel_content_type_is (content_type, "text", "html");
 
                        /* Since the first part is not multipart/alternative,
                         * this must be the body. */


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