diff options
author | Radek Doulik <rodo@ximian.com> | 2002-06-11 05:27:59 +0800 |
---|---|---|
committer | Radek Doulik <rodo@src.gnome.org> | 2002-06-11 05:27:59 +0800 |
commit | 39e79a246459a6be63eb12b69607b3ba4c3cb270 (patch) | |
tree | d917b3af619642c31b986ecd5fa593bd4a26e1e4 /mail/mail-config.c | |
parent | 6e1b4aa52b51d584195ddf3d4b8f259ecefcc7e6 (diff) | |
download | gsoc2013-evolution-39e79a246459a6be63eb12b69607b3ba4c3cb270.tar.gz gsoc2013-evolution-39e79a246459a6be63eb12b69607b3ba4c3cb270.tar.zst gsoc2013-evolution-39e79a246459a6be63eb12b69607b3ba4c3cb270.zip |
call mail_config_init to be sure we have the db, save auto_signature as
2002-06-07 Radek Doulik <rodo@ximian.com>
* mail-config.c (mail_config_write_account_sig): call
mail_config_init to be sure we have the db, save auto_signature as
well
svn path=/trunk/; revision=17161
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 |