aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-store.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-02-07 03:06:51 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-02-07 03:06:51 +0800
commitc07b2b93b5e9d8cdb6bea9e76481e9894b49da7d (patch)
tree578aadd026c99219786d5284237dc65f394d3d55 /camel/camel-store.h
parentf69024938edb58e12fce6bf407c2cf1720caae5a (diff)
downloadgsoc2013-evolution-c07b2b93b5e9d8cdb6bea9e76481e9894b49da7d.tar
gsoc2013-evolution-c07b2b93b5e9d8cdb6bea9e76481e9894b49da7d.tar.gz
gsoc2013-evolution-c07b2b93b5e9d8cdb6bea9e76481e9894b49da7d.tar.bz2
gsoc2013-evolution-c07b2b93b5e9d8cdb6bea9e76481e9894b49da7d.tar.lz
gsoc2013-evolution-c07b2b93b5e9d8cdb6bea9e76481e9894b49da7d.tar.xz
gsoc2013-evolution-c07b2b93b5e9d8cdb6bea9e76481e9894b49da7d.tar.zst
gsoc2013-evolution-c07b2b93b5e9d8cdb6bea9e76481e9894b49da7d.zip
Set a CAMEL_FOLDER_VIRTUAL bit on the special folder info so our UI can
2004-02-06 Jeffrey Stedfast <fejj@ximian.com> * camel-store.c (add_special_info): Set a CAMEL_FOLDER_VIRTUAL bit on the special folder info so our UI can know if it is virtual or not (meant for vTrash/vJunk). (camel_store_get_folder_info): Don't add vTrash/vJunk if the NO_VIRTUAL flag bit is set. Used by the subscriptions editor. svn path=/trunk/; revision=24656
Diffstat (limited to 'camel/camel-store.h')
-rw-r--r--camel/camel-store.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/camel/camel-store.h b/camel/camel-store.h
index 367adc4537..c936517fda 100644
--- a/camel/camel-store.h
+++ b/camel/camel-store.h
@@ -68,6 +68,8 @@ typedef struct _CamelFolderInfo {
#define CAMEL_FOLDER_NOCHILDREN (1<<3)
/* a folder which is subscribed */
#define CAMEL_FOLDER_SUBSCRIBED (1<<4)
+/* a virtual folder on a non-virtual store (for vTrash/vJunk) */
+#define CAMEL_FOLDER_VIRTUAL (1<<5)
/* Structure of rename event's event_data */
typedef struct _CamelRenameInfo {
@@ -111,6 +113,7 @@ struct _CamelStore
#define CAMEL_STORE_FOLDER_INFO_FAST (1 << 0)
#define CAMEL_STORE_FOLDER_INFO_RECURSIVE (1 << 1)
#define CAMEL_STORE_FOLDER_INFO_SUBSCRIBED (1 << 2)
+#define CAMEL_STORE_FOLDER_INFO_NO_VIRTUAL (1 << 3) /* don't include vTrash/vJunk folders */
typedef struct {
CamelServiceClass parent_class;