[evolution-data-server/openismus-work] EDataBook: Wrap up E_DATA_BOOK_STATUS_OUT_OF_SYNC properly



commit 48df9f227e71c7ee34c8e2abb0fe42e62138b48b
Author: Tristan Van Berkom <tristanvb openismus com>
Date:   Thu Jan 24 15:19:17 2013 +0900

    EDataBook: Wrap up E_DATA_BOOK_STATUS_OUT_OF_SYNC properly

 addressbook/libedata-book/e-data-book.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/addressbook/libedata-book/e-data-book.c b/addressbook/libedata-book/e-data-book.c
index beab435..3fc19f4 100644
--- a/addressbook/libedata-book/e-data-book.c
+++ b/addressbook/libedata-book/e-data-book.c
@@ -513,7 +513,8 @@ e_data_book_status_to_string (EDataBookStatus status)
 		{ E_DATA_BOOK_STATUS_INVALID_ARG,			N_("Invalid argument") },
 		/* Translators: The string for NOT_SUPPORTED error */
 		{ E_DATA_BOOK_STATUS_NOT_SUPPORTED,			N_("Not supported") },
-		{ E_DATA_BOOK_STATUS_NOT_OPENED,			N_("Backend is not opened yet") }
+		{ E_DATA_BOOK_STATUS_NOT_OPENED,			N_("Backend is not opened yet") },
+		{ E_DATA_BOOK_STATUS_OUT_OF_SYNC,                       N_("Out of Sync") }
 	};
 
 	for (i = 0; i < G_N_ELEMENTS (statuses); i++) {
@@ -555,7 +556,9 @@ e_data_book_error_quark (void)
 		{ E_DATA_BOOK_STATUS_NO_SPACE,				ERR_PREFIX "NoSpace" },
 		{ E_DATA_BOOK_STATUS_INVALID_ARG,			ERR_PREFIX "InvalidArg" },
 		{ E_DATA_BOOK_STATUS_NOT_SUPPORTED,			ERR_PREFIX "NotSupported" },
-		{ E_DATA_BOOK_STATUS_NOT_OPENED,			ERR_PREFIX "NotOpened" }
+		{ E_DATA_BOOK_STATUS_NOT_OPENED,			ERR_PREFIX "NotOpened" },
+		{ E_DATA_BOOK_STATUS_OUT_OF_SYNC,                       ERR_PREFIX "OutOfSync" }
+
 	};
 
 	#undef ERR_PREFIX



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]