32 lines
1.4 KiB
Diff
32 lines
1.4 KiB
Diff
Index: camel/providers/groupwise/camel-groupwise-folder.c
|
|
===================================================================
|
|
RCS file: /cvs/gnome/evolution-data-server/camel/providers/groupwise/camel-groupwise-folder.c,v
|
|
retrieving revision 1.129
|
|
diff -u -p -r1.129 camel-groupwise-folder.c
|
|
--- camel/providers/groupwise/camel-groupwise-folder.c 17 Apr 2006 10:26:16 -0000 1.129
|
|
+++ camel/providers/groupwise/camel-groupwise-folder.c 18 Apr 2006 15:14:40 -0000
|
|
@@ -586,11 +586,7 @@ groupwise_sync (CamelFolder *folder, gbo
|
|
EGwConnectionStatus status;
|
|
EGwConnection *cnc;
|
|
int count, i;
|
|
-
|
|
- /* Sync-up the (un)read changes before getting updates,
|
|
- so that the getFolderList will reflect the most recent changes too */
|
|
- groupwise_sync (folder, FALSE, ex);
|
|
-
|
|
+
|
|
if (((CamelOfflineStore *) gw_store)->state == CAMEL_OFFLINE_STORE_NETWORK_UNAVAIL ||
|
|
((CamelService *)gw_store)->status == CAMEL_SERVICE_DISCONNECTED) {
|
|
groupwise_sync_summary (folder, ex);
|
|
@@ -896,6 +892,10 @@ groupwise_refresh_folder(CamelFolder *fo
|
|
char *time_string = NULL, *t_str = NULL;
|
|
struct _folder_update_msg *msg;
|
|
gboolean check_all = FALSE;
|
|
+
|
|
+ /* Sync-up the (un)read changes before getting updates,
|
|
+ so that the getFolderList will reflect the most recent changes too */
|
|
+ groupwise_sync (folder, FALSE, ex);
|
|
|
|
if (((CamelOfflineStore *) gw_store)->state == CAMEL_OFFLINE_STORE_NETWORK_UNAVAIL) {
|
|
g_warning ("In offline mode. Cannot refresh!!!\n");
|