diff options
author | 1 <NotZed@Ximian.com> | 2001-09-21 13:58:53 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-09-21 13:58:53 +0800 |
commit | 0f0f01c1e0b40b513d82ef05082edfc3acf76d9e (patch) | |
tree | f69400d5e0c448d594b5f1dedbe638ad800eb94a /camel/camel-private.h | |
parent | b2e7adf9b88f9dda003f4e077c5db0dc8cb50d8b (diff) | |
download | gsoc2013-evolution-0f0f01c1e0b40b513d82ef05082edfc3acf76d9e.tar.gz gsoc2013-evolution-0f0f01c1e0b40b513d82ef05082edfc3acf76d9e.tar.zst gsoc2013-evolution-0f0f01c1e0b40b513d82ef05082edfc3acf76d9e.zip |
Force a refresh of vfolders before storing their count. This essentially
2001-09-21 <NotZed@Ximian.com>
* camel-vee-store.c (vee_get_folder_info): Force a refresh of
vfolders before storing their count. This essentially makes
'get_folderinfo' refresh all vfolders, so that get-mail works as
expected.
* camel-vee-folder.c (camel_vee_folder_finalise): Clear lists.
(folder_changed): If we're not autoupdating the folder, then
add this folder to the list of 'changed' folders for this vfolder.
(camel_vee_folder_set_expression): Reset the folders_changed list.
(camel_vee_folder_remove_folder): Remove the folder from the
folders_changed list.
(camel_vee_folder_set_folders): If we have a folder already, but
its changed, use this opportunity to update it.
(vee_sync): Remove any synced folders from the folders_changed
list.
(vee_refresh_info): Refresh folder, re-run queries on any changed
folders.
svn path=/trunk/; revision=13045
Diffstat (limited to 'camel/camel-private.h')
-rw-r--r-- | camel/camel-private.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/camel/camel-private.h b/camel/camel-private.h index 34f393b00f..8d65e0ace1 100644 --- a/camel/camel-private.h +++ b/camel/camel-private.h @@ -176,7 +176,8 @@ struct _CamelVeeStorePrivate { #endif struct _CamelVeeFolderPrivate { - GList *folders; /* lock using subfolder_lock before changing/accessing */ + GList *folders; /* lock using subfolder_lock before changing/accessing */ + GList *folders_changed; /* for list of folders that have changed between updates */ #ifdef ENABLE_THREADS GMutex *summary_lock; /* for locking vfolder summary */ |