aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog4
-rw-r--r--mail/mail-config.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 07bfc4b533..2f76369e7d 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,9 @@
2001-02-12 Jeffrey Stedfast <fejj@ximian.com>
+ * mail-config.c (mail_config_write): Clean out the cruft in the
+ Accounts section before writing the current accounts out to the
+ config file.
+
* mail-account-editor.c (construct): Strip the leading "/" from
the Namespace/Path entry if the provider doesn't require absolute
pathnames.
diff --git a/mail/mail-config.c b/mail/mail-config.c
index be8b8a7b6c..bdf739bafe 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -387,6 +387,7 @@ mail_config_write (void)
/* Accounts */
str = g_strdup_printf ("=%s/config/Mail=/Accounts/", evolution_dir);
+ gnome_config_clean_section (str);
gnome_config_push_prefix (str);
g_free (str);