aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
authorRadek Doulik <rodo@ximian.com>2001-06-07 19:07:04 +0800
committerRadek Doulik <rodo@src.gnome.org>2001-06-07 19:07:04 +0800
commit30cd3d3957c3925a3e64aa992c3ed64c7cafe200 (patch)
treeea97550553fba234f0f2a9e9cde155e7d9158a0e /composer/e-msg-composer.c
parent521e5f91321e9c7cbfc9a8720462c9bc4a84be39 (diff)
downloadgsoc2013-evolution-30cd3d3957c3925a3e64aa992c3ed64c7cafe200.tar.gz
gsoc2013-evolution-30cd3d3957c3925a3e64aa992c3ed64c7cafe200.tar.zst
gsoc2013-evolution-30cd3d3957c3925a3e64aa992c3ed64c7cafe200.zip
just set sig_file field, but don't actualy insert signature, it will be
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 svn path=/trunk/; revision=10142
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c3
1 files changed, 1 insertions, 2 deletions
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);
}