[evolution] Bug 749108 - Embedded inline images pretend message attachments



commit 6f615787bb3065ecaddeefcc7ef6af02cde7431d
Author: Milan Crha <mcrha redhat com>
Date:   Wed May 13 18:16:41 2015 +0200

    Bug 749108 - Embedded inline images pretend message attachments

 e-util/e-html-editor-view.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c
index 51f068c..8418962 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -10101,6 +10101,7 @@ e_html_editor_view_add_inline_image_from_element (EHTMLEditorView *view,
        camel_mime_part_set_content_id (part, cid);
        g_free (cid);
        name = webkit_dom_element_get_attribute (element, "data-name");
+       camel_mime_part_set_disposition (part, "inline");
        camel_mime_part_set_filename (part, name);
        g_free (name);
        camel_mime_part_set_encoding (part, CAMEL_TRANSFER_ENCODING_BASE64);


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