[evolution/wip/webkit-composer] EEditorWidget: Don't remove smiley image representation when changing composer mode
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit-composer] EEditorWidget: Don't remove smiley image representation when changing composer mode
- Date: Wed, 12 Mar 2014 11:28:33 +0000 (UTC)
commit 57d7263b58f9052b9ea21ae11b0b480431c948ab
Author: Tomas Popela <tpopela redhat com>
Date: Wed Mar 12 11:41:07 2014 +0100
EEditorWidget: Don't remove smiley image representation when changing composer mode
e-util/e-editor-widget.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-editor-widget.c b/e-util/e-editor-widget.c
index 0ad7c33..6fbb9f4 100644
--- a/e-util/e-editor-widget.c
+++ b/e-util/e-editor-widget.c
@@ -4158,7 +4158,8 @@ remove_images (EEditorWidget *widget)
WebKitDOMNodeList *images;
document = webkit_web_view_get_dom_document (WEBKIT_WEB_VIEW (widget));
- images = webkit_dom_document_query_selector_all (document, "img", NULL);
+ images = webkit_dom_document_query_selector_all (
+ document, "img:not(.-x-evo-smiley-img)", NULL);
length = webkit_dom_node_list_get_length (images);
for (ii = 0; ii < length; ii++) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]