From 5aab334614859ec22233f8f2a6cebb7d9db8eac5 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 13 Feb 2001 00:13:27 +0000 Subject: Clean out the cruft in the Accounts section before writing the current 2001-02-12 Jeffrey Stedfast * mail-config.c (mail_config_write): Clean out the cruft in the Accounts section before writing the current accounts out to the config file. svn path=/trunk/; revision=8196 --- mail/ChangeLog | 4 ++++ mail/mail-config.c | 1 + 2 files changed, 5 insertions(+) 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 + * 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); -- cgit v1.2.3