[evolution] EHTMLEditorView - Unnecessary new line inserted when composer when creating new message



commit 06ed54d29043358e8b12c9c3299970afdac0aad0
Author: Tomas Popela <tpopela redhat com>
Date:   Mon Feb 9 11:01:14 2015 +0100

    EHTMLEditorView - Unnecessary new line inserted when composer when creating new message
    
    To be more specific it happens when the 'Start typing at the bottom on
    replying' is active.

 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 c071093..3b27f02 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -7345,6 +7345,7 @@ html_editor_view_load_status_changed (EHTMLEditorView *view)
 
                selection = e_html_editor_view_get_selection (view);
                paragraph = prepare_paragraph (selection, document, TRUE);
+               webkit_dom_element_set_id (paragraph, "-x-evo-input-start");
                webkit_dom_node_append_child (
                        WEBKIT_DOM_NODE (body), WEBKIT_DOM_NODE (paragraph), NULL);
                e_html_editor_selection_restore (selection);


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