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
This commit is contained in:
Jeffrey Stedfast
2001-02-13 00:13:27 +00:00
committed by Jeffrey Stedfast
parent a10d530a35
commit 5aab334614
2 changed files with 5 additions and 0 deletions

View File

@ -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.

View File

@ -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);