From 531608c93b59be977f1a4ccd057c3c0f5f837cc4 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 30 Aug 2002 17:44:39 +0000 Subject: add QueryRefused, for when the backend refuses to perform a query. (part * backend/idl/addressbook.idl (CallStatus): add QueryRefused, for when the backend refuses to perform a query. (part of #25782) * backend/ebook/e-book-view-listener.c (e_book_view_listener_convert_status): translate GNOME_Evolution_Addressbook_BookViewListener_QueryRefused. * gui/component/addressbook.c (search_result): Handle E_BOOK_VIEW_STATUS_QUERY_REFUSED. svn path=/trunk/; revision=17934 --- addressbook/gui/component/addressbook.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'addressbook/gui/component/addressbook.c') diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c index 4a40762a91..74e21bbf47 100644 --- a/addressbook/gui/component/addressbook.c +++ b/addressbook/gui/component/addressbook.c @@ -926,6 +926,9 @@ search_result (EAddressbookView *eav, EBookViewStatus status, AddressbookView *v case E_BOOK_VIEW_STATUS_INVALID_QUERY: str = _("The backend for this addressbook was unable to parse this query."); break; + case E_BOOK_VIEW_STATUS_QUERY_REFUSED: + str = _("The backend for this addressbook refused to perform this query."); + break; case E_BOOK_VIEW_STATUS_OTHER_ERROR: case E_BOOK_VIEW_STATUS_UNKNOWN: str = _("This query did not complete successfully."); -- cgit v1.2.3