[evolution/wip/webkit2] EHTMLEditorView - Warning printed on console after pressing Enter and Tabulator



commit 4cdfc2e9245961cce96d9f7f25a09f0fe9ef346c
Author: Tomas Popela <tpopela redhat com>
Date:   Wed Mar 2 18:48:36 2016 +0100

    EHTMLEditorView - Warning printed on console after pressing Enter and Tabulator

 .../composer/e-html-editor-view-dom-functions.c    |    2 ++
 1 files changed, 2 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 9c8f5de..2cbbf32 100644
--- a/web-extensions/composer/e-html-editor-view-dom-functions.c
+++ b/web-extensions/composer/e-html-editor-view-dom-functions.c
@@ -9265,6 +9265,8 @@ dom_process_on_key_press (WebKitDOMDocument *document,
                          guint state)
 {
        e_html_editor_web_extension_set_dont_save_history_in_body_input (extension, FALSE);
+       e_html_editor_web_extension_set_return_key_pressed (extension, FALSE);
+       e_html_editor_web_extension_set_space_key_pressed (extension, FALSE);
 
        if (key_val == GDK_KEY_Tab || key_val == GDK_KEY_ISO_Left_Tab) {
                if (jump_to_next_table_cell (document, key_val == GDK_KEY_ISO_Left_Tab))


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