[evolution] EHTMLEditorView - Don't disable the HTML events callback when removing content with BackSpace key



commit 5a2f4be627f3b887028db6543d9e4acabad157c5
Author: Tomas Popela <tpopela redhat com>
Date:   Tue Aug 25 10:28:54 2015 +0200

    EHTMLEditorView - Don't disable the HTML events callback when removing content with BackSpace key

 e-util/e-html-editor-view.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c
index 38ec490..1cc6be0 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -5010,8 +5010,7 @@ html_editor_view_key_press_event (GtkWidget *widget,
                                return TRUE;
                        }
                        e_html_editor_selection_restore (selection);
-               } else
-                       remove_input_event_listener_from_body (view);
+               }
 
                /* BackSpace in indented block decrease indent level by one */
                if (e_html_editor_selection_is_indented (selection) &&


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