aboutsummaryrefslogtreecommitdiffstats
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
parent521e5f91321e9c7cbfc9a8720462c9bc4a84be39 (diff)
downloadgsoc2013-evolution-30cd3d3957c3925a3e64aa992c3ed64c7cafe200.tar
gsoc2013-evolution-30cd3d3957c3925a3e64aa992c3ed64c7cafe200.tar.gz
gsoc2013-evolution-30cd3d3957c3925a3e64aa992c3ed64c7cafe200.tar.bz2
gsoc2013-evolution-30cd3d3957c3925a3e64aa992c3ed64c7cafe200.tar.lz
gsoc2013-evolution-30cd3d3957c3925a3e64aa992c3ed64c7cafe200.tar.xz
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
-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);
}