+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)
CAMEL_SERVICE_LOCK (gw_store, connect_lock);
/* FIXME send the time stamp which the server sends */
status = e_gw_connection_get_quick_messages (cnc, container_id,
- "recipient distribution created attachments subject",
+ "peek recipient distribution created attachments subject status",
&t_str, "New", NULL, NULL, -1, &slist) ;
g_free (t_str), t_str = NULL;
t_str = g_strdup (time_string);
/* FIXME send the time stamp which the server sends */
status = e_gw_connection_get_quick_messages (cnc, container_id,
- "recipient distribution created attachments subject",
+ "peek recipient distribution created attachments subject status",
&t_str, "Modified", NULL, NULL, -1, &slist) ;
g_free (t_str), t_str = NULL;
if (status != E_GW_CONNECTION_STATUS_OK) {
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) ;
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;
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",
+ "peek 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"));
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",
+ "peek 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) {
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) {
{
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 *