[evolution/wip/webkit-composer: 384/966] EEditorWidget: Don't display	an empty line in new messages and replies.
- From: Tomas Popela <tpopela src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [evolution/wip/webkit-composer: 384/966] EEditorWidget: Don't display	an empty line in new messages and replies.
 
- Date: Wed, 23 Apr 2014 10:25:42 +0000 (UTC)
 
commit 7dbf2342dadad200595662ea1726587ed4db14af
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]