[evolution-patches] Exchange: patch for bug #241499
- From: shakti <shprasad novell com>
- To: evolution-patches <evolution-patches gnome org>
- Subject: [evolution-patches] Exchange: patch for bug #241499
- Date: Fri, 02 Sep 2005 09:37:59 +0530
Hi,
I have attached a patch for bug #241499. Please review it.
Thanks,
Shakti
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-exchange/ChangeLog,v
retrieving revision 1.395
diff -u -p -r1.395 ChangeLog
--- ChangeLog 30 Aug 2005 15:09:30 -0000 1.395
+++ ChangeLog 2 Sep 2005 04:05:33 -0000
@@ -1,3 +1,11 @@
+2005-09-02 Shakti Sen <shprasad novell com>
+
+ *addressbook/e-book-backend-exchange.c
+ (e_book_backend_exchange_modify_contact): Showing the appropriate
+ error message.
+
+ Fixes bug #241499.
+
2005-08-30 Arunprakash <arunp novell com>
* camel/camel-exchange-store.c (exchange_get_folder) : Insert into the
Index: addressbook/e-book-backend-exchange.c
===================================================================
RCS file: /cvs/gnome/evolution-exchange/addressbook/e-book-backend-exchange.c,v
retrieving revision 1.41
diff -u -p -r1.41 e-book-backend-exchange.c
--- addressbook/e-book-backend-exchange.c 26 Aug 2005 14:33:49 -0000 1.41
+++ addressbook/e-book-backend-exchange.c 2 Sep 2005 04:05:35 -0000
@@ -1452,7 +1452,15 @@ e_book_backend_exchange_modify_contact (
} else {
g_object_unref (*contact);
*contact = NULL;
- return http_status_to_pas (status);
+ switch (status) {
+ case E2K_HTTP_UNAUTHORIZED:
+ return GNOME_Evolution_Addressbook_PermissionDenied;
+ case E2K_HTTP_CANT_CONNECT:
+ return GNOME_Evolution_Addressbook_RepositoryOffline;
+ default:
+ return GNOME_Evolution_Addressbook_OtherError;
+ }
+
}
default:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]