[evolution/gnome-3-16] Bug 749108 - Embedded inline images pretend message attachments



commit 49480979b371de2a0816fa75519b13ac3f890555
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 2e330a9..904ff0e 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -10112,6 +10112,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]