From ebd4a9fa7f3bd6d94e85cba93e4190a7bbb07f92 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Fri, 10 Jan 2003 04:02:25 +0000 Subject: try to load the uri again if it failed previously. (book_open_cb): set 2003-01-09 Chris Toshok * gui/component/addressbook.c (control_activate_cb): try to load the uri again if it failed previously. (book_open_cb): set failed_to_load based on the response. (set_prop): initialize failed_to_load to FALSE before we kick off the first load. * backend/pas/pas-book-factory.c (pas_book_factory_process_request): if the load_uri fails, remove it from the hashtable and free it, so we'll try to load it again from scratch the next time it's requested instead of serving up a backend that doesn't function. * backend/pas/pas-backend.c (pas_backend_get_uri): we need to be able to get the uri from backends that aren't loaded (so we can remove them from the hashtable.) svn path=/trunk/; revision=19392 --- addressbook/ChangeLog | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'addressbook/ChangeLog') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index e83f41d9bf..1b51c47c9d 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,21 @@ +2003-01-09 Chris Toshok + + * gui/component/addressbook.c (control_activate_cb): try to load + the uri again if it failed previously. + (book_open_cb): set failed_to_load based on the response. + (set_prop): initialize failed_to_load to FALSE before we kick off + the first load. + + * backend/pas/pas-book-factory.c + (pas_book_factory_process_request): if the load_uri fails, remove + it from the hashtable and free it, so we'll try to load it again + from scratch the next time it's requested instead of serving up a + backend that doesn't function. + + * backend/pas/pas-backend.c (pas_backend_get_uri): we need to be + able to get the uri from backends that aren't loaded (so we can + remove them from the hashtable.) + 2003-01-09 Chris Toshok * backend/pas/pas-backend-ldap.c (query_ldap_root_dse): doh, fix -- cgit v1.2.3