[evolution] EHTMLEditorView - Image smileys are sent as base64 data



commit 38df42e56001e6aa3e3ce48a4735c4defcb10dff
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 6a376cf..4531390 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]