aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-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;