From 08879c382da0f592c9521ade17ccb2f0f8d9597d Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Mon, 9 Jul 2001 16:31:36 +0000 Subject: Change html_signature stuff over to bonobo-config -- someone forgot to do 2001-07-09 Peter Williams * mail-config.c (mail_config_write): Change html_signature stuff over to bonobo-config -- someone forgot to do this. svn path=/trunk/; revision=10915 --- mail/ChangeLog | 3 +++ mail/mail-config.c | 9 +++++---- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'mail') 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 + * 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 */ -- cgit