aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/mail-config.c9
2 files changed, 8 insertions, 4 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 3dcda315e2..e42406d883 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
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.
+
* mail-folder-cache.c (dm): Gave up and got rid of dm. Just replaced it
with d(g_message()) and set G_LOG_DOMAIN.
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 */