[evolution-patches] Address book - GroupWise backend, marking system book for offline usage.



Hi,

This patch is for not using system address book name while
marking it for offline usage.

Thanks,
Sushma.
Index: plugins/groupwise-account-setup/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/plugins/groupwise-account-setup/ChangeLog,v
retrieving revision 1.20
diff -u -p -r1.20 ChangeLog
--- plugins/groupwise-account-setup/ChangeLog	24 Aug 2005 03:15:13 -0000	1.20
+++ plugins/groupwise-account-setup/ChangeLog	29 Aug 2005 11:15:07 -0000
@@ -1,3 +1,9 @@
+2005-08-29  Sushma Rai  <rsushma novell com>
+
+	* camel-gw-listener.c (add_addressbook_sources): Removed name 
+	comparison and using writable property, to find the system
+	address book, while marking for offline usage.
+
 2005-08-23  Not Zed  <NotZed Ximian com>
 
 	* groupwise-account-setup.c (org_gnome_groupwise_account_setup):
Index: plugins/groupwise-account-setup/camel-gw-listener.c
===================================================================
RCS file: /cvs/gnome/evolution/plugins/groupwise-account-setup/camel-gw-listener.c,v
retrieving revision 1.37
diff -u -p -r1.37 camel-gw-listener.c
--- plugins/groupwise-account-setup/camel-gw-listener.c	24 Aug 2005 03:15:13 -0000	1.37
+++ plugins/groupwise-account-setup/camel-gw-listener.c	29 Aug 2005 11:15:21 -0000
@@ -626,7 +626,8 @@ add_addressbook_sources (EAccount *accou
 		e_source_set_property (source, "auth-domain", "Groupwise");
 		e_source_set_property (source, "port", soap_port);
 		e_source_set_property(source, "user", url->user);
-		if (!strcmp (book_name, "Novell GroupWise Address Book"))
+		/* mark system address book for offline usage */
+		if (!e_gw_container_get_is_writable (E_GW_CONTAINER(temp_list->data)))
 			e_source_set_property (source, "offline_sync", "1");
 		else
 			e_source_set_property (source, "offline_sync", 


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