Re: [evolution-patches] (groupwise) fix for bug 73308



missed attaching the patch.
sorry.
-partha.

On Thu, 2005-03-10 at 11:57 +0530, Parthasarathi Susarla wrote:
> attached patch fixes bug 73308, (marking all messages as read)
> Thanks,
> partha
> _______________________________________________
> evolution-patches mailing list
> evolution-patches lists ximian com
> http://lists.ximian.com/mailman/listinfo/evolution-patches
Index: camel-groupwise-folder.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/groupwise/camel-groupwise-folder.c,v
retrieving revision 1.35
diff -u -p -r1.35 camel-groupwise-folder.c
--- camel-groupwise-folder.c	3 Mar 2005 12:16:27 -0000	1.35
+++ camel-groupwise-folder.c	10 Mar 2005 06:24:49 -0000
@@ -728,6 +728,7 @@ gw_update_summary ( CamelFolder *folder,
 		char *date = NULL, *temp_date = NULL ;
 		const char *id ;
 		GSList *recp_list = NULL ;
+		status_flags = 0;
 
 		id = e_gw_item_get_id (item) ;
 		mi = (CamelGroupwiseMessageInfo *)camel_folder_summary_uid (folder->summary, id) ;
Index: camel-groupwise-store.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/groupwise/camel-groupwise-store.c,v
retrieving revision 1.40
diff -u -p -r1.40 camel-groupwise-store.c
--- camel-groupwise-store.c	3 Mar 2005 12:16:27 -0000	1.40
+++ camel-groupwise-store.c	10 Mar 2005 06:24:50 -0000
@@ -543,7 +543,6 @@ groupwise_get_folder (CamelStore *store,
 		tm = gmtime (&mod_time);
 		strftime (time_string, 100, "%Y-%m-%dT%H:%M:%SZ", tm);
 	}
-
 	summary_count = camel_folder_summary_count (folder->summary) ;
 	if(summary_count) {
 		char  *t_str = NULL;
@@ -551,7 +550,7 @@ groupwise_get_folder (CamelStore *store,
 		t_str = g_strdup (time_string);
 		/* FIXME send the time stamp which the server sends */
 		status = e_gw_connection_get_quick_messages (priv->cnc, container_id,
-				"recipient distribution attachments subject created",
+				"recipient distribution attachments subject created status",
 				&t_str, "New", NULL, NULL, -1, &slist) ;
 		if (status != E_GW_CONNECTION_STATUS_OK) {
 			//camel_exception_set (ex, CAMEL_EXCEPTION_SERVICE_INVALID, _("Authentication failed"));
@@ -579,7 +578,7 @@ groupwise_get_folder (CamelStore *store,
 		t_str = g_strdup (time_string);
 		/* FIXME send the time stamp which the server sends */
 		status = e_gw_connection_get_quick_messages (priv->cnc, container_id,
-					"recipient distribution attachments subject created",
+					"recipient distribution attachments subject created status",
 					&t_str, "Modified", NULL, NULL, -1, &slist) ; 
 		g_free (t_str), t_str = NULL;
 		if (status != E_GW_CONNECTION_STATUS_OK) {
@@ -607,7 +606,7 @@ groupwise_get_folder (CamelStore *store,
 		g_mutex_lock (mutex) ;
 
 		status = e_gw_connection_create_cursor (priv->cnc, container_id, 
-				"attachments distribution created subject",
+				"peek attachments distribution created subject status",
 				NULL,
 				&cursor) ;
 		if (status != E_GW_CONNECTION_STATUS_OK) {
@@ -1181,7 +1180,7 @@ camel_groupwise_store_container_id_looku
 {
 	CamelGroupwiseStorePrivate *priv = gw_store->priv ;
 
-	return g_hash_table_lookup (priv->name_hash,folder_name) ;
+	return g_hash_table_lookup (priv->name_hash, folder_name) ;
 }
 
 const char *
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/groupwise/ChangeLog,v
retrieving revision 1.35
diff -u -p -r1.35 ChangeLog
--- ChangeLog	9 Mar 2005 11:49:49 -0000	1.35
+++ ChangeLog	10 Mar 2005 06:24:50 -0000
@@ -1,3 +1,13 @@
+2005-03-10  Parthasarathi Susarla <sparthasarathi novell com>
+	
+	* camel-groupwise-store.c:
+	  (groupwise_get_folder): add peek and status views to 
+	  the creatCursorRequest
+	* camel-groupwise-folder.c:
+	  (gw_update_summary): initialise the status flag
+	  variable.
+	  *** Fixes bug #73308
+
 2005-03-09  Sankar P <psankar novell com>
 
 	* camel-groupwise-utils.c:(camel_groupwise_util_item_from_message)


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