aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-11-04 02:50:05 +0800
committerMilan Crha <mcrha@redhat.com>2009-11-04 02:50:05 +0800
commit7e7b5a2dd59c4ea4595d99b64cb7ae4f092c8ceb (patch)
tree02ecdb7912fd2309eb0c16ebae547dd9b6015153
parent571670cab5a6564ca560dbe0606b0b008906e992 (diff)
downloadgsoc2013-evolution-7e7b5a2dd59c4ea4595d99b64cb7ae4f092c8ceb.tar
gsoc2013-evolution-7e7b5a2dd59c4ea4595d99b64cb7ae4f092c8ceb.tar.gz
gsoc2013-evolution-7e7b5a2dd59c4ea4595d99b64cb7ae4f092c8ceb.tar.bz2
gsoc2013-evolution-7e7b5a2dd59c4ea4595d99b64cb7ae4f092c8ceb.tar.lz
gsoc2013-evolution-7e7b5a2dd59c4ea4595d99b64cb7ae4f092c8ceb.tar.xz
gsoc2013-evolution-7e7b5a2dd59c4ea4595d99b64cb7ae4f092c8ceb.tar.zst
gsoc2013-evolution-7e7b5a2dd59c4ea4595d99b64cb7ae4f092c8ceb.zip
Bug #599124 - Signature always includes an empty line in front of text
-rw-r--r--composer/e-msg-composer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 849cbe3945..f18659ed9d 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -1217,7 +1217,7 @@ get_signature_html (EMsgComposer *composer)
*/
html = g_strdup_printf ("<!--+GtkHTML:<DATA class=\"ClueFlow\" key=\"signature\" value=\"1\">-->"
"<!--+GtkHTML:<DATA class=\"ClueFlow\" key=\"signature_name\" value=\"uid:%s\">-->"
- "<TABLE WIDTH=\"100%%\" CELLSPACING=\"0\" CELLPADDING=\"0\"><TR><TD><BR>"
+ "<TABLE WIDTH=\"100%%\" CELLSPACING=\"0\" CELLPADDING=\"0\"><TR><TD>"
"%s%s%s%s"
"%s</TD></TR></TABLE>",
encoded_uid ? encoded_uid : "",
@@ -3832,8 +3832,8 @@ e_msg_composer_show_sig_file (EMsgComposer *composer)
g_free (html_text);
} else if (top_signature) {
/* insert paragraph after the signature ClueFlow things */
- gtkhtml_editor_run_command (editor, "cursor-forward");
- gtkhtml_editor_run_command (editor, "insert-paragraph");
+ if (gtkhtml_editor_run_command (editor, "cursor-forward"))
+ gtkhtml_editor_run_command (editor, "insert-paragraph");
}
gtkhtml_editor_undo_end (editor);