diff options
author | Peter Williams <peterw@ximian.com> | 2001-07-10 00:31:36 +0800 |
---|---|---|
committer | Peter Williams <peterw@src.gnome.org> | 2001-07-10 00:31:36 +0800 |
commit | 08879c382da0f592c9521ade17ccb2f0f8d9597d (patch) | |
tree | 91dcfbd5e84d59d5a7425bb4ab9ada607c1941ab /mail/mail-config.c | |
parent | 3adc63f509900a098689691677df988dcfe0b941 (diff) | |
download | gsoc2013-evolution-08879c382da0f592c9521ade17ccb2f0f8d9597d.tar.gz gsoc2013-evolution-08879c382da0f592c9521ade17ccb2f0f8d9597d.tar.zst gsoc2013-evolution-08879c382da0f592c9521ade17ccb2f0f8d9597d.zip |
Change html_signature stuff over to bonobo-config -- someone forgot to do
2001-07-09 Peter Williams <peterw@ximian.com>
* mail-config.c (mail_config_write): Change html_signature stuff over
to bonobo-config -- someone forgot to do this.
svn path=/trunk/; revision=10915
Diffstat (limited to 'mail/mail-config.c')
-rw-r--r-- | mail/mail-config.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c index 0596cf23f6..90210e26e8 100644 --- a/mail/mail-config.c +++ b/mail/mail-config.c @@ -376,10 +376,11 @@ config_read (void) id->signature = bonobo_config_get_string (config->db, path, NULL); g_free (path); path = g_strdup_printf ("identity_html_signature_%d", i); - id->html_signature = gnome_config_get_string (path); + id->html_signature = bonobo_config_get_string (config->db, path, NULL); g_free (path); path = g_strdup_printf ("identity_has_html_signature_%d", i); - id->has_html_signature = gnome_config_get_bool_with_default (path, FALSE); + id->has_html_signature = bonobo_config_get_boolean_with_default ( + config->db, path, FALSE, NULL); g_free (path); /* get the source */ @@ -645,10 +646,10 @@ mail_config_write (void) account->id->signature, NULL); g_free (path); path = g_strdup_printf ("identity_html_signature_%d", i); - gnome_config_set_string (path, account->id->html_signature); + bonobo_config_set_string (config->db, path, account->id->html_signature, NULL); g_free (path); path = g_strdup_printf ("identity_has_html_signature_%d", i); - gnome_config_set_bool (path, account->id->has_html_signature); + bonobo_config_set_boolean (config->db, path, account->id->has_html_signature, NULL); g_free (path); /* source info */ |