34 lines
1.0 KiB
Diff
34 lines
1.0 KiB
Diff
--- camel/providers/groupwise/camel-groupwise-store.c 2008-12-23 09:25:44.000000000 +0100
|
|
+++ camel/providers/groupwise/camel-groupwise-store.c 2008-12-23 09:38:58.000000000 +0100
|
|
@@ -1430,6 +1430,17 @@
|
|
return NULL;
|
|
}
|
|
|
|
+static gboolean
|
|
+groupwise_can_refresh_folder (CamelStore *store, CamelFolderInfo *info, CamelException *ex)
|
|
+{
|
|
+ gboolean res;
|
|
+
|
|
+ res = CAMEL_STORE_CLASS(parent_class)->can_refresh_folder (store, info, ex) ||
|
|
+ (camel_url_get_param (((CamelService *)store)->url, "check_all") != NULL);
|
|
+
|
|
+ return res;
|
|
+}
|
|
+
|
|
/*
|
|
* Function to check if we are both connected and are _actually_
|
|
* online. Based on an equivalient function in IMAP
|
|
@@ -1498,6 +1509,7 @@
|
|
camel_store_class->get_folder_info = groupwise_get_folder_info;
|
|
camel_store_class->free_folder_info = camel_store_free_folder_info_full;
|
|
camel_store_class->get_trash = groupwise_get_trash;
|
|
+ camel_store_class->can_refresh_folder = groupwise_can_refresh_folder;
|
|
}
|
|
|
|
|
|
@@ -1597,3 +1609,4 @@
|
|
|
|
return camel_groupwise_store_type;
|
|
}
|
|
+
|