aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-05-11 03:58:51 +0800
committerChris Lahey <clahey@src.gnome.org>2000-05-11 03:58:51 +0800
commit0d7e80490d5a12fbaadc88d020730915ae50b841 (patch)
tree4dc358bfd4be6f0c5ea1ad4ace059a08d43288ad /addressbook/backend
parentbcb25ab9069b0fc00c67bfcde08f229807c8f752 (diff)
downloadgsoc2013-evolution-0d7e80490d5a12fbaadc88d020730915ae50b841.tar.gz
gsoc2013-evolution-0d7e80490d5a12fbaadc88d020730915ae50b841.tar.zst
gsoc2013-evolution-0d7e80490d5a12fbaadc88d020730915ae50b841.zip
Send a proper response when you can't find the ldap URI.
2000-05-10 Christopher James Lahey <clahey@helixcode.com> * backend/pas/pas-book-factory.c: Send a proper response when you can't find the ldap URI. * gui/component/addressbook.c: Cleaned up the open error dialog a bit. svn path=/trunk/; revision=2975
Diffstat (limited to 'addressbook/backend')
-rw-r--r--addressbook/backend/pas/pas-book-factory.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/addressbook/backend/pas/pas-book-factory.c b/addressbook/backend/pas/pas-book-factory.c
index cd7a8d3ed9..f4012b2adf 100644
--- a/addressbook/backend/pas/pas-book-factory.c
+++ b/addressbook/backend/pas/pas-book-factory.c
@@ -1,3 +1,4 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
*
* Author:
@@ -354,11 +355,11 @@ impl_Evolution_BookFactory_open_book (PortableServer_Servant servant,
backend_factory = pas_book_factory_lookup_backend_factory (factory, uri);
if (backend_factory == NULL) {
- g_warning ("PASBookFactory: No backend found for uri: %s\n", uri);
-
- CORBA_exception_set (
- ev, CORBA_USER_EXCEPTION,
- ex_Evolution_BookFactory_ProtocolNotSupported, NULL);
+ Evolution_BookListener_respond_open_book (
+ listener,
+ Evolution_BookListener_ProtocolNotSupported,
+ CORBA_OBJECT_NIL,
+ &ev);
return;
}