From c1afb96405bb7b7e093a7e7fcb55736988eea933 Mon Sep 17 00:00:00 2001 From: Radek Doulik Date: Thu, 3 Jun 2004 15:16:05 +0000 Subject: always insert new paragraph for signature 2004-06-03 Radek Doulik * e-msg-composer.c (e_msg_composer_show_sig_file): always insert new paragraph for signature Fixes #37601 svn path=/trunk/; revision=26170 --- composer/ChangeLog | 7 +++++++ composer/e-msg-composer.c | 3 +-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/composer/ChangeLog b/composer/ChangeLog index a9e228b311..8bc814a397 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,3 +1,10 @@ +2004-06-03 Radek Doulik + + * e-msg-composer.c (e_msg_composer_show_sig_file): always insert + new paragraph for signature + + Fixes #37601 + 2004-05-27 Jeffrey Stedfast * mail-composer-errors.xml: s/${0}/{0}/g diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index d768cebd9a..fb03c9782a 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -4555,8 +4555,7 @@ e_msg_composer_show_sig_file (EMsgComposer *composer) delete_old_signature (composer); html = get_signature_html (composer); if (html) { - if (!GNOME_GtkHTML_Editor_Engine_isParagraphEmpty (composer->editor_engine, &ev)) - GNOME_GtkHTML_Editor_Engine_runCommand (composer->editor_engine, "insert-paragraph", &ev); + GNOME_GtkHTML_Editor_Engine_runCommand (composer->editor_engine, "insert-paragraph", &ev); if (!GNOME_GtkHTML_Editor_Engine_runCommand (composer->editor_engine, "cursor-backward", &ev)) GNOME_GtkHTML_Editor_Engine_runCommand (composer->editor_engine, "insert-paragraph", &ev); else -- cgit