[evolution] EHTMLEditorView - Connect HTML events handlers after converting composer content



commit 6f39b52cf957341c2cbc13b2d56da1ef5633b1ab
Author: Tomas Popela <tpopela redhat com>
Date:   Tue Aug 25 10:24:16 2015 +0200

    EHTMLEditorView - Connect HTML events handlers after converting composer content
    
    The handlers would connect after the first key press, but the first key press could
    break the content as the needed actions in these callbacks would not be processed.

 e-util/e-html-editor-view.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c
index ef7cabd..38ec490 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -9775,6 +9775,9 @@ html_editor_view_load_status_changed (EHTMLEditorView *view)
                style_updated_cb (view);
                view->priv->convert_in_situ = FALSE;
 
+               register_input_event_listener_on_body (view);
+               register_html_events_handlers (view, body);
+
                return;
        }
 


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