aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRadek Doulik <rodo@ximian.com>2004-06-03 23:16:05 +0800
committerRadek Doulik <rodo@src.gnome.org>2004-06-03 23:16:05 +0800
commitc1afb96405bb7b7e093a7e7fcb55736988eea933 (patch)
treee404c6ff4d99fff3514864187f40f3ddfc3e1125
parent0d3421467c9f40eae245132d5485e1c91f546a9c (diff)
downloadgsoc2013-evolution-c1afb96405bb7b7e093a7e7fcb55736988eea933.tar.gz
gsoc2013-evolution-c1afb96405bb7b7e093a7e7fcb55736988eea933.tar.zst
gsoc2013-evolution-c1afb96405bb7b7e093a7e7fcb55736988eea933.zip
always insert new paragraph for signature
2004-06-03 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (e_msg_composer_show_sig_file): always insert new paragraph for signature Fixes #37601 svn path=/trunk/; revision=26170
-rw-r--r--composer/ChangeLog7
-rw-r--r--composer/e-msg-composer.c3
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 <rodo@ximian.com>
+
+ * e-msg-composer.c (e_msg_composer_show_sig_file): always insert
+ new paragraph for signature
+
+ Fixes #37601
+
2004-05-27 Jeffrey Stedfast <fejj@novell.com>
* 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