aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRadek Doulik <rodo@ximian.com>2003-05-23 04:08:40 +0800
committerRadek Doulik <rodo@src.gnome.org>2003-05-23 04:08:40 +0800
commit870f16c1da69616cc6c35f2afb4d0737c2c43033 (patch)
tree3976949c75819b80786b446b23053a232c2fe008
parent29cf556612cef79fb38f1f536b99b1d74b0d7928 (diff)
downloadgsoc2013-evolution-870f16c1da69616cc6c35f2afb4d0737c2c43033.tar.gz
gsoc2013-evolution-870f16c1da69616cc6c35f2afb4d0737c2c43033.tar.zst
gsoc2013-evolution-870f16c1da69616cc6c35f2afb4d0737c2c43033.zip
set signature html flag even if it's newly signature, we don't set it in
2003-05-21 Radek Doulik <rodo@ximian.com> * mail-signature-editor.c (menu_file_save_cb): set signature html flag even if it's newly signature, we don't set it in format_html_cb as sig could be "live" (when it's not new one) svn path=/trunk/; revision=21321
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/mail-signature-editor.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 5e63c299b7..44e18453aa 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2003-05-21 Radek Doulik <rodo@ximian.com>
+
+ * mail-signature-editor.c (menu_file_save_cb): set signature html
+ flag even if it's newly signature, we don't set it in
+ format_html_cb as sig could be "live" (when it's not new one)
+
2003-05-20 Jeffrey Stedfast <fejj@ximian.com>
* mail-importer.c: Updated copyright years.
diff --git a/mail/mail-signature-editor.c b/mail/mail-signature-editor.c
index 9a3a4e0272..c4a4c27970 100644
--- a/mail/mail-signature-editor.c
+++ b/mail/mail-signature-editor.c
@@ -177,14 +177,14 @@ menu_file_save_cb (BonoboUIComponent *uic, void *user_data, const char *path)
g_free (filename);
+ mail_config_signature_set_html (editor->sig, editor->html);
+
/* if the signature isn't already saved in the config, save it there now... */
if (editor->is_new) {
mail_config_signature_add (editor->sig);
editor->is_new = FALSE;
- } else {
- mail_config_signature_set_html (editor->sig, editor->html);
+ } else
mail_config_signature_emit_event (MAIL_CONFIG_SIG_EVENT_CONTENT_CHANGED, editor->sig);
- }
return;