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



commit 87c714764058f5d35e6e348244c9b5311eda2cad
Author: Milan Crha <mcrha redhat com>
Date:   Thu Feb 25 15:33:53 2016 +0100

    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 51b44df..9def9dd 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -2004,6 +2004,7 @@ create_part_for_inline_image_from_element_data (const gchar *element_src,
 
        camel_mime_part_set_content_id (part, id);
        camel_mime_part_set_filename (part, name);
+       camel_mime_part_set_disposition (part, "inline");
        camel_mime_part_set_encoding (part, CAMEL_TRANSFER_ENCODING_BASE64);
 out:
        g_free (mime_type);


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