aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-disco-folder.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-disco-folder.c')
-rw-r--r--camel/camel-disco-folder.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/camel/camel-disco-folder.c b/camel/camel-disco-folder.c
index 33148251f2..a5e7f80ee0 100644
--- a/camel/camel-disco-folder.c
+++ b/camel/camel-disco-folder.c
@@ -45,6 +45,7 @@ static int disco_getv(CamelObject *object, CamelException *ex, CamelArgGetV *arg
static int disco_setv(CamelObject *object, CamelException *ex, CamelArgV *args);
static void disco_refresh_info (CamelFolder *folder, CamelException *ex);
+static void disco_refresh_info_online (CamelFolder *folder, CamelException *ex);
static void disco_sync (CamelFolder *folder, gboolean expunge, CamelException *ex);
static void disco_expunge (CamelFolder *folder, CamelException *ex);
@@ -75,6 +76,7 @@ camel_disco_folder_class_init (CamelDiscoFolderClass *camel_disco_folder_class)
/* virtual method definition */
camel_disco_folder_class->cache_message = disco_cache_message;
camel_disco_folder_class->prepare_for_offline = disco_prepare_for_offline;
+ camel_disco_folder_class->refresh_info_online = disco_refresh_info_online;
/* virtual method overload */
camel_folder_class->refresh_info = disco_refresh_info;
@@ -252,6 +254,12 @@ disco_setv(CamelObject *object, CamelException *ex, CamelArgV *args)
}
static void
+disco_refresh_info_online(CamelFolder *folder, CamelException *ex)
+{
+ /* NOOP */;
+}
+
+static void
disco_refresh_info (CamelFolder *folder, CamelException *ex)
{
if (camel_disco_store_status (CAMEL_DISCO_STORE (folder->parent_store)) != CAMEL_DISCO_STORE_ONLINE)