aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-store.h
diff options
context:
space:
mode:
author4 <NotZed@Ximian.com>2001-09-15 16:12:58 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-09-15 16:12:58 +0800
commit466e05c024510d8019989f8bf8f04541c3ca792d (patch)
treea744a404a3861eb09836240628b5f8480ced01c2 /camel/camel-store.h
parent576a04e67d0f059992afbb1afdca67fb668288f4 (diff)
downloadgsoc2013-evolution-466e05c024510d8019989f8bf8f04541c3ca792d.tar
gsoc2013-evolution-466e05c024510d8019989f8bf8f04541c3ca792d.tar.gz
gsoc2013-evolution-466e05c024510d8019989f8bf8f04541c3ca792d.tar.bz2
gsoc2013-evolution-466e05c024510d8019989f8bf8f04541c3ca792d.tar.lz
gsoc2013-evolution-466e05c024510d8019989f8bf8f04541c3ca792d.tar.xz
gsoc2013-evolution-466e05c024510d8019989f8bf8f04541c3ca792d.tar.zst
gsoc2013-evolution-466e05c024510d8019989f8bf8f04541c3ca792d.zip
New function, set the complete list of folders on a vfolder, all at once.
2001-09-14 <NotZed@Ximian.com> * camel-vee-folder.c (camel_vee_folder_set_folders): New function, set the complete list of folders on a vfolder, all at once. (camel_vee_folder_set_expression): If we set the query to be the same thing, dont do anything. * camel-vee-store.c (camel_vee_store_init): Turn off vtrash for this store. * camel-store.c (camel_store_init): Enable vtrash by default via flags. (camel_store_get_trash): REturn NULL if the store doesn't support vtrash. (init_trash): Dont init if store doesn't support vtrash. * camel-store.h: Add a new flags CAMEL_STORE_VTRASH -> store supports vtrash. 2001-09-13 <NotZed@Ximian.com> * camel-vee-store.c (vee_get_folder_info): Implement. (build_info): Used to build a folder record from the folders hashtable. (vee_delete_folder): Implemented, remove folder from hashtable. (vee_rename_folder): Implemented, remove old folder from hashtable, add new one and rename its guts too. * camel-store.c (camel_store_rename_folder): Do nothing if we're not asked to actually change names. Also dont do the renamed cache check till after we've called the subclass. (camel_store_delete_folder): Call the subclass delete firs,t then make sure the cache is right. * camel-vee-folder.c (vee_folder_construct): Remove support for name?query syntax to setup vfolder. Abort if such syntax is used. (camel_vee_folder_new): Removed code that handles ? syntax, etc. (vee_folder_build_folder): Handle unset expression, treat it as an empty search. (camel_vee_folder_set_expression): Oops, actually set the expression. * camel-vtrash-folder.c (camel_vtrash_folder_new): Dont use name?query syntax to setup vfolder, but set the expression directly. Also fixes a small memleak. 2001-09-12 <NotZed@Ximian.com> * camel-store.c (camel_store_delete_folder): Fixed warnings with a cast. (camel_store_rename_folder): " svn path=/trunk/; revision=12854
Diffstat (limited to 'camel/camel-store.h')
-rw-r--r--camel/camel-store.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/camel/camel-store.h b/camel/camel-store.h
index 02ceb5747c..6983524091 100644
--- a/camel/camel-store.h
+++ b/camel/camel-store.h
@@ -54,7 +54,8 @@ typedef struct _CamelFolderInfo {
/* Flags for store flags */
-#define CAMEL_STORE_SUBSCRIPTIONS (1 << 0)
+#define CAMEL_STORE_SUBSCRIPTIONS (1 << 0)
+#define CAMEL_STORE_VTRASH (1 << 1)
struct _CamelStore
{