aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/ebook
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/backend/ebook')
-rw-r--r--addressbook/backend/ebook/e-book-types.h1
-rw-r--r--addressbook/backend/ebook/e-book-view-listener.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/addressbook/backend/ebook/e-book-types.h b/addressbook/backend/ebook/e-book-types.h
index 59459a0979..eb70a778fc 100644
--- a/addressbook/backend/ebook/e-book-types.h
+++ b/addressbook/backend/ebook/e-book-types.h
@@ -37,6 +37,7 @@ typedef enum {
E_BOOK_VIEW_STATUS_TIME_LIMIT_EXCEEDED,
E_BOOK_VIEW_STATUS_SIZE_LIMIT_EXCEEDED,
E_BOOK_VIEW_STATUS_INVALID_QUERY,
+ E_BOOK_VIEW_STATUS_QUERY_REFUSED,
E_BOOK_VIEW_STATUS_OTHER_ERROR,
E_BOOK_VIEW_STATUS_UNKNOWN
} EBookViewStatus;
diff --git a/addressbook/backend/ebook/e-book-view-listener.c b/addressbook/backend/ebook/e-book-view-listener.c
index cbb548892f..ce46fd1100 100644
--- a/addressbook/backend/ebook/e-book-view-listener.c
+++ b/addressbook/backend/ebook/e-book-view-listener.c
@@ -315,6 +315,8 @@ e_book_view_listener_convert_status (const GNOME_Evolution_Addressbook_BookViewL
return E_BOOK_VIEW_STATUS_SIZE_LIMIT_EXCEEDED;
case GNOME_Evolution_Addressbook_BookViewListener_InvalidQuery:
return E_BOOK_VIEW_STATUS_INVALID_QUERY;
+ case GNOME_Evolution_Addressbook_BookViewListener_QueryRefused:
+ return E_BOOK_VIEW_STATUS_QUERY_REFUSED;
case GNOME_Evolution_Addressbook_BookViewListener_OtherError:
return E_BOOK_VIEW_STATUS_OTHER_ERROR;
default: