[evolution/gnome-3-16] EHTMLEditorView - Image smileys are sent as base64 data



commit 4a6f44afa3e3205a136cb94817f85b832eab71d3
Author: Tomas Popela <tpopela redhat com>
Date:   Wed Mar 25 15:41:28 2015 +0100

    EHTMLEditorView - Image smileys are sent as base64 data

 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 d115487..83245f4 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -2108,6 +2108,7 @@ emoticon_read_async_cb (GFile *file,
 
        image = webkit_dom_document_create_element (document, "IMG", NULL);
        webkit_dom_element_set_attribute (image, "src", output, NULL);
+       webkit_dom_element_set_attribute (image, "data-inline", "", NULL);
        webkit_dom_element_set_attribute (image, "alt", emoticon->text_face, NULL);
        webkit_dom_element_set_attribute (image, "-x-evo-smiley", emoticon->icon_name, NULL);
        webkit_dom_element_set_attribute (image, "class", "-x-evo-smiley-img", NULL);


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