aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 cbffb77b90..79084440ef 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,10 @@
+2001-06-07 Radek Doulik <rodo@ximian.com>
+
+ * e-msg-composer.c (e_msg_composer_new_with_sig_file): just set
+ sig_file field, but don't actualy insert signature, it will be
+ done by format menu item callback
+ (e_msg_composer_set_body_text): don't set signature here
+
2001-06-01 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (build_message): If user is trying to sign
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index ec867c8da2..3a818fffdb 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -2048,9 +2048,9 @@ e_msg_composer_new_with_sig_file (const char *sig_file, gboolean send_html)
new = create_composer ();
if (new) {
+ new->sig_file = g_strdup (sig_file);
e_msg_composer_set_send_html (new, send_html);
set_editor_text (new, "");
- e_msg_composer_set_sig_file (new, sig_file);
}
/* printf ("e_msg_composer_new_with_sig_file %p\n", new); */
@@ -2544,7 +2544,6 @@ e_msg_composer_set_body_text (EMsgComposer *composer, const char *text)
g_return_if_fail (E_IS_MSG_COMPOSER (composer));
set_editor_text (composer, text);
- e_msg_composer_set_sig_file (composer, composer->sig_file);
}