[evolution-patches] Fix for #72373 (camel-groupwise)



Hi,

Attached patch fixes  http://bugzilla.ximian.com/show_bug.cgi?id=72373
Changes are made in camel-groupwise-folder.c and camel-groupwise-store.c

Thanks,
Vivek
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/groupwise/ChangeLog,v
retrieving revision 1.31
diff -u -p -r1.31 ChangeLog
--- ChangeLog	28 Feb 2005 13:49:35 -0000	1.31
+++ ChangeLog	1 Mar 2005 11:01:56 -0000
@@ -1,3 +1,11 @@
+2005-03-01  Vivek Jain <jvivek novell com>
+
+	***Fixes # 72373
+	* camel-groupwise-store.c :(groupwise_get_folder)
+	* camel-groupwise_folder.c :(groupwise_refresh_info)
+	pass types as NULL in the call of e_gw_connection_get_quick_messages
+	to retrieve all the items
+
 2005-02-28  Parthasarathi Susarla <sparthasarathi novell com>
 	
 	* camel-groupwise-folder.c: (groupwise_refresh_info):
Index: camel-groupwise-store.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/groupwise/camel-groupwise-store.c,v
retrieving revision 1.38
diff -u -p -r1.38 camel-groupwise-store.c
--- camel-groupwise-store.c	28 Feb 2005 13:49:35 -0000	1.38
+++ camel-groupwise-store.c	1 Mar 2005 11:01:56 -0000
@@ -552,7 +552,7 @@ groupwise_get_folder (CamelStore *store,
 		/* FIXME send the time stamp which the server sends */
 		status = e_gw_connection_get_quick_messages (priv->cnc, container_id,
 				"distribution attachments subject created",
-				&t_str, "New", "Mail", NULL, -1, &slist) ;
+				&t_str, "New", NULL, NULL, -1, &slist) ;
 		if (status != E_GW_CONNECTION_STATUS_OK) {
 			//camel_exception_set (ex, CAMEL_EXCEPTION_SERVICE_INVALID, _("Authentication failed"));
 			CAMEL_SERVICE_UNLOCK (gw_store, connect_lock) ;
@@ -580,7 +580,7 @@ groupwise_get_folder (CamelStore *store,
 		/* FIXME send the time stamp which the server sends */
 		status = e_gw_connection_get_quick_messages (priv->cnc, container_id,
 					"distribution attachments subject created",
-					&t_str, "Modified", "Mail", NULL, -1, &slist) ; 
+					&t_str, "Modified", NULL, NULL, -1, &slist) ; 
 		g_free (t_str), t_str = NULL;
 		if (status != E_GW_CONNECTION_STATUS_OK) {
 			//camel_exception_set (ex, CAMEL_EXCEPTION_SERVICE_INVALID, _("Authentication failed"));
Index: camel-groupwise-folder.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/groupwise/camel-groupwise-folder.c,v
retrieving revision 1.32
diff -u -p -r1.32 camel-groupwise-folder.c
--- camel-groupwise-folder.c	28 Feb 2005 13:49:35 -0000	1.32
+++ camel-groupwise-folder.c	1 Mar 2005 11:01:57 -0000
@@ -655,7 +655,7 @@ groupwise_refresh_info(CamelFolder *fold
 	/* FIXME send the time stamp which the server sends */
 	status = e_gw_connection_get_quick_messages (cnc, container_id,
 					"distribution created attachments subject",
-					&t_str, "New", "Mail", NULL, -1, &slist) ;
+					&t_str, "New", NULL, NULL, -1, &slist) ;
 	
 	g_free (t_str), t_str = NULL;
 	if (status != E_GW_CONNECTION_STATUS_OK) {
@@ -674,7 +674,7 @@ groupwise_refresh_info(CamelFolder *fold
 	/* FIXME send the time stamp which the server sends */
 	status = e_gw_connection_get_quick_messages (cnc, container_id,
 				"distribution created attachments subject",
-				&t_str, "Modified", "Mail", NULL, -1, &slist) ;
+				&t_str, "Modified", NULL, NULL, -1, &slist) ;
 	g_free (t_str), t_str = NULL;
 	if (status != E_GW_CONNECTION_STATUS_OK) {
 		camel_exception_set (ex, CAMEL_EXCEPTION_SERVICE_INVALID, _("Authentication failed"));


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