[evolution/wip/webkit2] EHTMLEditorView - Image smileys are sent as base64 data
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit2] EHTMLEditorView - Image smileys are sent as base64 data
- Date: Wed, 7 Oct 2015 07:32:24 +0000 (UTC)
commit 9029bfbeb9622b3d62538b6d7d06c578cb49f896
Author: Tomas Popela <tpopela redhat com>
Date: Tue May 12 17:01:21 2015 +0200
EHTMLEditorView - Image smileys are sent as base64 data
web-extensions/e-html-editor-view-dom-functions.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/web-extensions/e-html-editor-view-dom-functions.c
b/web-extensions/e-html-editor-view-dom-functions.c
index 281aa61..cec6a3d 100644
--- a/web-extensions/e-html-editor-view-dom-functions.c
+++ b/web-extensions/e-html-editor-view-dom-functions.c
@@ -1501,6 +1501,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]