aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-store.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-10-25 23:27:17 +0800
committerDan Winship <danw@src.gnome.org>2000-10-25 23:27:17 +0800
commit82185d7faa88274eccd75e495d2de2a3f8f4237c (patch)
treee6669af593c145764b36408f2bfe283a69f585b5 /camel/camel-store.h
parent945c7db44f9faab6e12411c82c8459cba30c60fe (diff)
downloadgsoc2013-evolution-82185d7faa88274eccd75e495d2de2a3f8f4237c.tar.gz
gsoc2013-evolution-82185d7faa88274eccd75e495d2de2a3f8f4237c.tar.zst
gsoc2013-evolution-82185d7faa88274eccd75e495d2de2a3f8f4237c.zip
Add a "parent" field to CamelFolderInfo.
* camel-store.h: Add a "parent" field to CamelFolderInfo. * camel-store.c (camel_folder_info_build): Deal with "parent" (camel_store_folder_subscribed, camel_store_subscribe_folder, camel_store_unsubscribe_folder): Add g_return_if_fails checking that the folder supports subscriptions. * providers/imap/camel-imap-store.c (folder_subscribed, subscribe_folder, unsubscribe_folder): Remove "+ 1"s since the mail subscribe UI won't prepend / to the folder names now. (get_folder_info): Clear the "parent" field of the folderinfos when removing an empty top level. * providers/nntp/camel-nntp-store.c (nntp_store_folder_subscribed, nntp_store_subscribe_folder, nntp_store_unsubscribe_folder): Remove "+ 1"s since the mail subscribe UI won't prepend / to the folder names now. svn path=/trunk/; revision=6167
Diffstat (limited to 'camel/camel-store.h')
-rw-r--r--camel/camel-store.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-store.h b/camel/camel-store.h
index 2be350bca5..7558c0eb5a 100644
--- a/camel/camel-store.h
+++ b/camel/camel-store.h
@@ -39,7 +39,7 @@ extern "C" {
typedef struct _CamelFolderInfo {
- struct _CamelFolderInfo *sibling, *child;
+ struct _CamelFolderInfo *parent, *sibling, *child;
char *url, *full_name, *name;
int message_count, unread_message_count;
} CamelFolderInfo;