[evolution/wip/webkit2] EHTMLEditorView - Redoing the Return key press in the list can fail



commit 79f509525016c1d416645e72c8e1eaf9718c9c06
Author: Tomas Popela <tpopela redhat com>
Date:   Thu Mar 3 13:58:32 2016 +0100

    EHTMLEditorView - Redoing the Return key press in the list can fail

 .../composer/e-html-editor-view-dom-functions.c    |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/web-extensions/composer/e-html-editor-view-dom-functions.c 
b/web-extensions/composer/e-html-editor-view-dom-functions.c
index 7fe86db..a78fa9a 100644
--- a/web-extensions/composer/e-html-editor-view-dom-functions.c
+++ b/web-extensions/composer/e-html-editor-view-dom-functions.c
@@ -8967,6 +8967,9 @@ return_pressed_in_empty_list_item (WebKitDOMDocument *document,
                                &ev->before.end.y);
 
                        fragment = webkit_dom_document_create_document_fragment (document);
+
+                       g_object_set_data (
+                               G_OBJECT (fragment), "history-return-key", GINT_TO_POINTER (1));
                }
 
                list = split_list_into_two (parent, -1);


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