[evolution/wip/webkit-composer: 244/372] EEditorWidget: Don't display an empty line in new messages and replies.



commit 796a41f7adadd9d82bf5814d9d3311a16512f238
Author: Tomas Popela <tpopela redhat com>
Date:   Wed Mar 20 22:25:05 2013 -0400

    EEditorWidget: Don't display an empty line in new messages and replies.
    
    Fixes two bugs: 689627 and 689773.

 e-util/e-editor-widget.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-editor-widget.c b/e-util/e-editor-widget.c
index 4e9cf0d..18a2451 100644
--- a/e-util/e-editor-widget.c
+++ b/e-util/e-editor-widget.c
@@ -1551,7 +1551,7 @@ process_elements (WebKitDOMNode *node,
                }
        }
 
-       if (g_strcmp0 (display, "block") == 0) {
+       if (g_strcmp0 (display, "block") == 0 && g_strcmp0 (tagname, "BODY") != 0) {
                g_string_append (buffer, "\n");
        }
 


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