diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-12-11 03:38:20 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-12-11 03:38:20 +0800 |
commit | bfdd0af479c7910de4ba940356b18b1f7b18c7bf (patch) | |
tree | d97105b9932a6cb10bc830456988acfbce1c3846 /camel | |
parent | efc4798ec9777af1d5ebd49434bae27093b2e158 (diff) | |
download | gsoc2013-evolution-bfdd0af479c7910de4ba940356b18b1f7b18c7bf.tar gsoc2013-evolution-bfdd0af479c7910de4ba940356b18b1f7b18c7bf.tar.gz gsoc2013-evolution-bfdd0af479c7910de4ba940356b18b1f7b18c7bf.tar.bz2 gsoc2013-evolution-bfdd0af479c7910de4ba940356b18b1f7b18c7bf.tar.lz gsoc2013-evolution-bfdd0af479c7910de4ba940356b18b1f7b18c7bf.tar.xz gsoc2013-evolution-bfdd0af479c7910de4ba940356b18b1f7b18c7bf.tar.zst gsoc2013-evolution-bfdd0af479c7910de4ba940356b18b1f7b18c7bf.zip |
Use CAMEL_FODLER_NOCHILDREN rather than NOINFERIORS because NOINFERIORS
2003-12-10 Jeffrey Stedfast <fejj@ximian.com>
* providers/local/camel-mbox-store.c (get_folder_info): Use
CAMEL_FODLER_NOCHILDREN rather than NOINFERIORS because
NOINFERIORS means the folder cannot contain subfolders. However,
our mbox structure always allows subfolders.
(scan_dir): Same.
svn path=/trunk/; revision=23913
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 6 | ||||
-rw-r--r-- | camel/providers/local/camel-mbox-store.c | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 174b44bd3d..2dcb06243d 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,5 +1,11 @@ 2003-12-10 Jeffrey Stedfast <fejj@ximian.com> + * providers/local/camel-mbox-store.c (get_folder_info): Use + CAMEL_FODLER_NOCHILDREN rather than NOINFERIORS because + NOINFERIORS means the folder cannot contain subfolders. However, + our mbox structure always allows subfolders. + (scan_dir): Same. + * camel-store.h: Add a CAMEL_FOLDER_NOCHILDREN flag. * providers/imap/camel-imap-store.c (get_folders): Same as below. diff --git a/camel/providers/local/camel-mbox-store.c b/camel/providers/local/camel-mbox-store.c index ffce19171f..0a6dfe0200 100644 --- a/camel/providers/local/camel-mbox-store.c +++ b/camel/providers/local/camel-mbox-store.c @@ -608,7 +608,7 @@ scan_dir (CamelStore *store, GHashTable *visited, CamelFolderInfo *parent, const g_free (full_name); if (S_ISDIR (st.st_mode)) { - fi->flags = (fi->flags & ~CAMEL_FOLDER_NOINFERIORS) | CAMEL_FOLDER_CHILDREN; + fi->flags = (fi->flags & ~CAMEL_FOLDER_NOCHILDREN) | CAMEL_FOLDER_CHILDREN; } else { fi->unread_message_count = unread; fi->flags &= ~CAMEL_FOLDER_NOSELECT; @@ -630,7 +630,7 @@ scan_dir (CamelStore *store, GHashTable *visited, CamelFolderInfo *parent, const if (S_ISDIR (st.st_mode)) fi->flags = CAMEL_FOLDER_NOSELECT; else - fi->flags = CAMEL_FOLDER_NOINFERIORS; + fi->flags = CAMEL_FOLDER_NOCHILDREN; if (tail == NULL) folders = fi; @@ -741,7 +741,7 @@ get_folder_info (CamelStore *store, const char *top, guint32 flags, CamelExcepti if (fi->child) fi->flags |= CAMEL_FOLDER_CHILDREN; else - fi->flags |= CAMEL_FOLDER_NOINFERIORS; + fi->flags |= CAMEL_FOLDER_NOCHILDREN; g_free (subdir); |