[evolution] EHTMLEditorView - Correctly mark the paragraph that will receive input when the composer is opened



commit a225d36884c0c284f284c0c240a3a23e79b61b23
Author: Tomas Popela <tpopela redhat com>
Date:   Thu Oct 30 15:22:28 2014 +0100

    EHTMLEditorView - Correctly mark the paragraph that will receive input when the composer is opened

 e-util/e-html-editor-view.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c
index b999ae8..3ab2cc7 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -4337,6 +4337,7 @@ html_editor_view_process_document_from_convertor (EHTMLEditorView *view,
 
        /* Insert the paragraph where the caret will be. */
        paragraph = prepare_paragraph (selection, document, TRUE);
+       webkit_dom_element_set_id (paragraph, "-x-evo-input-start");
        webkit_dom_node_insert_before (
                WEBKIT_DOM_NODE (body),
                WEBKIT_DOM_NODE (paragraph),


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