From 6f16d48483f45ad462599b0171bbc6ac4c2976d9 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Tue, 17 Jul 2001 02:14:50 +0000 Subject: [ Fix bug #4705 - LDAP storage gets saved with corrupted binddn] 2001-07-16 Chris Toshok [ Fix bug #4705 - LDAP storage gets saved with corrupted binddn] * gui/component/addressbook-config.c (addressbook_dialog_apply): call addressbook_storage_write_sources here after we're done rebuilding them. * gui/component/addressbook-storage.c (addressbook_storage_clear_sources): don't write the source file here. (addressbook_storage_add_source): same. (addressbook_storage_remove_source): same. (addressbook_storage_write_sources): new function, write the source file out. (addressbook_source_copy): g_strdup the binddn so we don't end up free'ing it multiple times thanks to copies freeing theirs. * gui/component/addressbook-storage.h: add prototype for address_storage_write_sources. svn path=/trunk/; revision=11146 --- addressbook/ChangeLog | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'addressbook/ChangeLog') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index f20a90729d..a4cc6a6d70 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,24 @@ +2001-07-16 Chris Toshok + + [ Fix bug #4705 - LDAP storage gets saved with corrupted binddn] + + * gui/component/addressbook-config.c (addressbook_dialog_apply): + call addressbook_storage_write_sources here after we're done + rebuilding them. + + * gui/component/addressbook-storage.c + (addressbook_storage_clear_sources): don't write the source file + here. + (addressbook_storage_add_source): same. + (addressbook_storage_remove_source): same. + (addressbook_storage_write_sources): new function, write the + source file out. + (addressbook_source_copy): g_strdup the binddn so we don't end up + free'ing it multiple times thanks to copies freeing theirs. + + * gui/component/addressbook-storage.h: add prototype for + address_storage_write_sources. + 2001-07-16 Iain Holmes * backend/pas/evolution-vcard-importer.c (ebook_create): Don't just -- cgit v1.2.3