aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2001-07-10 00:31:36 +0800
committerPeter Williams <peterw@src.gnome.org>2001-07-10 00:31:36 +0800
commit08879c382da0f592c9521ade17ccb2f0f8d9597d (patch)
tree91dcfbd5e84d59d5a7425bb4ab9ada607c1941ab
parent3adc63f509900a098689691677df988dcfe0b941 (diff)
downloadgsoc2013-evolution-08879c382da0f592c9521ade17ccb2f0f8d9597d.tar
gsoc2013-evolution-08879c382da0f592c9521ade17ccb2f0f8d9597d.tar.gz
gsoc2013-evolution-08879c382da0f592c9521ade17ccb2f0f8d9597d.tar.bz2
gsoc2013-evolution-08879c382da0f592c9521ade17ccb2f0f8d9597d.tar.lz
gsoc2013-evolution-08879c382da0f592c9521ade17ccb2f0f8d9597d.tar.xz
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
-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 */