diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-12-11 03:22:20 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-12-11 03:22:20 +0800 |
commit | ac71e9d8f34c61804a3e37c57b5c9dfc56e62029 (patch) | |
tree | 643b0edac49393483dd706a80558343a2dda71a1 /camel/providers/imap/camel-imap-store.c | |
parent | e3262cdc7e24aece3074a0c92ce3e529acf3568e (diff) | |
download | gsoc2013-evolution-ac71e9d8f34c61804a3e37c57b5c9dfc56e62029.tar gsoc2013-evolution-ac71e9d8f34c61804a3e37c57b5c9dfc56e62029.tar.gz gsoc2013-evolution-ac71e9d8f34c61804a3e37c57b5c9dfc56e62029.tar.bz2 gsoc2013-evolution-ac71e9d8f34c61804a3e37c57b5c9dfc56e62029.tar.lz gsoc2013-evolution-ac71e9d8f34c61804a3e37c57b5c9dfc56e62029.tar.xz gsoc2013-evolution-ac71e9d8f34c61804a3e37c57b5c9dfc56e62029.tar.zst gsoc2013-evolution-ac71e9d8f34c61804a3e37c57b5c9dfc56e62029.zip |
Add a CAMEL_FOLDER_NOCHILDREN flag.
2003-12-10 Jeffrey Stedfast <fejj@ximian.com>
* camel-store.h: Add a CAMEL_FOLDER_NOCHILDREN flag.
* providers/imap/camel-imap-store.c (get_folders): Same as below.
* providers/imap/camel-imap-utils.c (imap_parse_list_response):
s/CAMEL_IMAP_FOLDER_NOCHILDREN/CAMEL_FOLDER_NOCHILDREN/
svn path=/trunk/; revision=23911
Diffstat (limited to 'camel/providers/imap/camel-imap-store.c')
-rw-r--r-- | camel/providers/imap/camel-imap-store.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c index 2d6337896f..4b4250da18 100644 --- a/camel/providers/imap/camel-imap-store.c +++ b/camel/providers/imap/camel-imap-store.c @@ -2507,11 +2507,11 @@ get_folders(CamelStore *store, const char *top, guint32 flags, CamelException *e or can't have children, no need to go further - a bit ugly */ if ( top == imap_store->namespace && (flags & CAMEL_STORE_FOLDER_INFO_RECURSIVE) == 0 - && (fi->flags & (CAMEL_FOLDER_CHILDREN|CAMEL_IMAP_FOLDER_NOCHILDREN|CAMEL_FOLDER_NOINFERIORS)) != 0) { + && (fi->flags & (CAMEL_FOLDER_CHILDREN|CAMEL_FOLDER_NOCHILDREN|CAMEL_FOLDER_NOINFERIORS)) != 0) { /* do nothing */ } /* Otherwise, if this has (or might have) children, scan it */ - else if ( (fi->flags & (CAMEL_IMAP_FOLDER_NOCHILDREN|CAMEL_FOLDER_NOINFERIORS)) == 0 + else if ( (fi->flags & (CAMEL_FOLDER_NOCHILDREN|CAMEL_FOLDER_NOINFERIORS)) == 0 || (fi->flags & CAMEL_FOLDER_CHILDREN) != 0) { char *n, *real; |