2005-06-07 Parthasarathi Susarla <sparthasarathi@novell.com>
* camel-groupwise-folder.c:
+ (groupwise_transfer_messages_to): set the current_folder.
+ ** Fixes bug #300599
+
+2005-06-07 Parthasarathi Susarla <sparthasarathi@novell.com>
+
+ * camel-groupwise-folder.c:
(groupwise_sync): use removeItemsRequest instead of
removeItemRequest. This syncs up mailbox faster.
if (expunge) {
status = e_gw_connection_purge_deleted_items (cnc);
- if (status = E_GW_CONNECTION_STATUS_OK) {
+ if (status == E_GW_CONNECTION_STATUS_OK) {
}
}
CAMEL_SERVICE_LOCK (gw_store, connect_lock);
+ /* Its a good idea to sync up first and then refresh...
+ * XXX:But how long does this take??? Bad if its slow
+ */
+ groupwise_sync (folder, FALSE, ex);
+ /*Done....should refresh now.....*/
+
if (!g_ascii_strncasecmp (folder->full_name, "Trash", 5)) {
status = e_gw_connection_get_items (cnc, container_id, "recipient distribution created attachments subject status size", NULL, &list);
if (status != E_GW_CONNECTION_STATUS_OK) {
g_free (container_id);
end1:
CAMEL_SERVICE_UNLOCK (gw_store, connect_lock);
-
return;
}
camel_folder_summary_touch (source->summary);
camel_folder_summary_touch (destination->summary);
+ gw_store->current_folder = source;
+
CAMEL_SERVICE_UNLOCK (source->parent_store, connect_lock);
}