From 77e9bd8497e09c16aff8c0bdd35ac2b333983e67 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Wed, 26 Feb 2003 22:39:27 +0000 Subject: if we fail to activate factories for a given protocol, return. 2003-02-26 Chris Toshok * backend/ebook/e-book.c (e_book_load_uri): if we fail to activate factories for a given protocol, return. * gui/component/ldap-config.glade: remove the two unused custom widgets to cut down on gtk warning spam. svn path=/trunk/; revision=20080 --- addressbook/ChangeLog | 8 +++ addressbook/backend/ebook/e-book.c | 1 + addressbook/gui/component/ldap-config.glade | 76 ++++++----------------------- 3 files changed, 23 insertions(+), 62 deletions(-) diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 005266a9db..a0f5599a40 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,11 @@ +2003-02-26 Chris Toshok + + * backend/ebook/e-book.c (e_book_load_uri): if we fail to activate + factories for a given protocol, return. + + * gui/component/ldap-config.glade: remove the two unused custom + widgets to cut down on gtk warning spam. + 2003-02-21 Dan Winship * backend/ebook/Makefile.am (libebook_la_LIBADD): depend on diff --git a/addressbook/backend/ebook/e-book.c b/addressbook/backend/ebook/e-book.c index dd7b433ff8..c20f0e7c5c 100644 --- a/addressbook/backend/ebook/e-book.c +++ b/addressbook/backend/ebook/e-book.c @@ -757,6 +757,7 @@ e_book_load_uri (EBook *book, /* try to find a list of factories that can handle the protocol */ if (!activate_factories_for_uri (book, uri)) { open_response (book, E_BOOK_STATUS_PROTOCOL_NOT_SUPPORTED, closure); + return; } g_free (book->priv->uri); diff --git a/addressbook/gui/component/ldap-config.glade b/addressbook/gui/component/ldap-config.glade index 137a39b794..8c1d3d4f41 100644 --- a/addressbook/gui/component/ldap-config.glade +++ b/addressbook/gui/component/ldap-config.glade @@ -574,8 +574,6 @@ LDAP attribute to associate with it. True GTK_POS_TOP False - 2 - 2 False @@ -891,8 +889,6 @@ LDAP attribute to associate with it. False GTK_POS_TOP False - 2 - 2 False @@ -1081,9 +1077,9 @@ need help finding this information. True Step 1: Server Information - #e660bfffe408 - #6258081ae408 - #09380816d54c + #e700bfffe4b8 + #3c0c0811e4b8 + #fa68081cc8cc @@ -1147,9 +1143,9 @@ information. Please ask your system administrator if you are unsure of this info True Step 2: Connecting to Server - #e660bfffe408 - #6258081ae408 - #09380816d54c + #e700bfffe4b8 + #3c0c0811e4b8 + #fa68081cc8cc @@ -1214,9 +1210,9 @@ your connection. Ask your system administrator if your LDAP server uses these pr True Step 3: Searching the Directory - #e660bfffe408 - #6258081ae408 - #09380816d54c + #e700bfffe4b8 + #3c0c0811e4b8 + #fa68081cc8cc @@ -1281,9 +1277,9 @@ need to change these options. True Step 4: Display Name - #e660bfffe408 - #6258081ae408 - #09380816d54c + #e700bfffe4b8 + #3c0c0811e4b8 + #fa68081cc8cc @@ -1402,8 +1398,6 @@ need to change these options. False GTK_POS_TOP False - 2 - 2 False @@ -1547,8 +1541,6 @@ Please click the "Finish" button to save the settings you have entered True GTK_POS_TOP False - 2 - 2 False @@ -1829,8 +1821,6 @@ Please click the "Finish" button to save the settings you have entered False GTK_POS_TOP False - 2 - 2 False @@ -2395,8 +2385,6 @@ It is for display purposes only. False GTK_POS_TOP False - 2 - 2 False @@ -3017,8 +3005,6 @@ exploits. False GTK_POS_TOP False - 2 - 2 False @@ -3656,8 +3642,6 @@ too large will slow down your addressbook. False GTK_POS_TOP False - 2 - 2 False @@ -3756,8 +3740,6 @@ too large will slow down your addressbook. False GTK_POS_TOP False - 2 - 2 False @@ -3858,8 +3840,6 @@ too large will slow down your addressbook. False GTK_POS_TOP False - 2 - 2 False @@ -4348,8 +4328,6 @@ It is for display purposes only. False GTK_POS_TOP False - 2 - 2 False @@ -4955,8 +4933,6 @@ exploits. False GTK_POS_TOP False - 2 - 2 False @@ -5182,18 +5158,7 @@ too large will slow down your addressbook. - - True - objectclasses_create_server_table - 0 - 0 - Tue, 16 Apr 2002 17:09:21 GMT - - - 0 - True - True - + @@ -5303,18 +5268,7 @@ too large will slow down your addressbook. - - True - objectclasses_create_evolution_table - 0 - 0 - Tue, 16 Apr 2002 17:09:43 GMT - - - 0 - True - True - + @@ -5561,8 +5515,6 @@ too large will slow down your addressbook. False GTK_POS_TOP False - 2 - 2 False -- cgit v1.2.3