diff options
Diffstat (limited to 'mail/mail-config.c')
-rw-r--r-- | mail/mail-config.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c index 0a6bf6ed95..033f9d646f 100644 --- a/mail/mail-config.c +++ b/mail/mail-config.c @@ -982,6 +982,8 @@ mail_config_write_account_sig (MailConfigAccount *account, gint i) { char *path; + mail_config_init (); + if (i == -1) { GSList *link; @@ -998,6 +1000,10 @@ mail_config_write_account_sig (MailConfigAccount *account, gint i) bonobo_config_set_long (config->db, path, account->id->def_signature ? account->id->def_signature->id : -1, NULL); g_free (path); + + path = g_strdup_printf ("/Mail/Accounts/identity_autogenerated_signature_%d", i); + bonobo_config_set_boolean (config->db, path, account->id->auto_signature, NULL); + g_free (path); } void |