[evolution-patches] patch for #73021 (address book)



change log explains 

Siva
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/addressbook/ChangeLog,v
retrieving revision 1.257
diff -u -p -r1.257 ChangeLog
--- ChangeLog	3 Mar 2005 15:13:57 -0000	1.257
+++ ChangeLog	7 Mar 2005 09:00:03 -0000
@@ -1,3 +1,12 @@
+2005-03-07  Sivaiah Nallagatla <snallagatla novell com>
+
+	* backends/groupwise/e-bbok-backend-groupwise.c 
+	(e_book_backend_groupwise_set_mode) : notify writable
+	state after looking at priv->is_writable. Some books 
+	are read only for groupwise. 
+
+	Fixes #73021 
+
 2005-03-02  JP Rosevear  <jpr novell com>
 
 	Fixes #73226
Index: backends/groupwise/e-book-backend-groupwise.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/addressbook/backends/groupwise/e-book-backend-groupwise.c,v
retrieving revision 1.50
diff -u -p -r1.50 e-book-backend-groupwise.c
--- backends/groupwise/e-book-backend-groupwise.c	28 Feb 2005 19:57:42 -0000	1.50
+++ backends/groupwise/e-book-backend-groupwise.c	7 Mar 2005 09:00:04 -0000
@@ -2561,7 +2561,10 @@ e_book_backend_groupwise_set_mode (EBook
 			}
 		}
 		else if (mode == GNOME_Evolution_Addressbook_MODE_REMOTE) {
-			e_book_backend_notify_writable (backend, TRUE);
+			if (bg->priv->is_writable)
+				e_book_backend_notify_writable (backend, TRUE);
+			else 
+				e_book_backend_notify_writable (backend, FALSE);
 			e_book_backend_notify_connection_status (backend, TRUE);
 			e_book_backend_notify_auth_required (backend);
 		}


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