[evolution-patches] patch for e-book-backend



Fixes an issue where editors are in writable state in offline mode in
some cases 

Siva
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/addressbook/ChangeLog,v
retrieving revision 1.253
diff -u -r1.253 ChangeLog
--- ChangeLog	25 Feb 2005 05:58:34 -0000	1.253
+++ ChangeLog	25 Feb 2005 09:53:26 -0000
@@ -1,3 +1,11 @@
+2005-02-25  Sivaiah Nallagatla  <snallagatla novell com>
+
+	* libedata-book/e-book-backend.c (e_book_backend_notify_writable)
+	: save the writable status in priv->writable also so that
+	when new clients are created for an existing backend we report 
+	correct writable status .
+	Fixes editors being editable in some cases in offline mode
+
 2005-02-24  Harish Krishnaswamy  <kharish novell com>
 
 	* backends/groupwise/e-book-backend-groupwise.c: (build_cache):
Index: libedata-book/e-book-backend.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/addressbook/libedata-book/e-book-backend.c,v
retrieving revision 1.10
diff -u -r1.10 e-book-backend.c
--- libedata-book/e-book-backend.c	4 Feb 2005 06:30:34 -0000	1.10
+++ libedata-book/e-book-backend.c	25 Feb 2005 09:53:26 -0000
@@ -634,6 +634,7 @@
 	GList *clients;
 	
 	priv = backend->priv;
+	priv->writable = is_writable;
 	g_mutex_lock (priv->clients_mutex);
 	
 	for (clients = priv->clients; clients != NULL; clients = g_list_next (clients))


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