diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-02-13 08:13:27 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-02-13 08:13:27 +0800 |
commit | 5aab334614859ec22233f8f2a6cebb7d9db8eac5 (patch) | |
tree | 82f18636ddbac368784f8221a54297aa6ec84b76 /mail | |
parent | a10d530a3593b7fe9774b3c3f336e0d00e4e843d (diff) | |
download | gsoc2013-evolution-5aab334614859ec22233f8f2a6cebb7d9db8eac5.tar.gz gsoc2013-evolution-5aab334614859ec22233f8f2a6cebb7d9db8eac5.tar.zst gsoc2013-evolution-5aab334614859ec22233f8f2a6cebb7d9db8eac5.zip |
Clean out the cruft in the Accounts section before writing the current
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.
svn path=/trunk/; revision=8196
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 4 | ||||
-rw-r--r-- | mail/mail-config.c | 1 |
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); |