From 64892e739d1ca8b13dfa0bfb86607f2f694e5671 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Tue, 3 Nov 2009 19:49:22 +0100 Subject: Bug #599124 - Signature always includes an empty line in front of text --- composer/e-msg-composer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'composer/e-msg-composer.c') diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index 9e3418a1f2..7bf67a4fb8 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -1303,7 +1303,7 @@ get_signature_html (EMsgComposer *composer) */ html = g_strdup_printf ("" "" - "

" + "
" "%s%s%s%s" "%s
", encoded_uid ? encoded_uid : "", @@ -3867,8 +3867,8 @@ e_msg_composer_show_sig_file (EMsgComposer *composer) g_free (html_text); } else if (is_top_signature (composer)) { /* 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); -- cgit v1.2.3