diff options
-rw-r--r-- | camel/ChangeLog | 8 | ||||
-rw-r--r-- | camel/providers/local/camel-mbox-store.c | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 1374d19176..3197349085 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,11 @@ +2004-02-23 Rodney Dawes <dobey@ximian.com> + + * providers/local/camel-mbox-store.c (scan_dir): If our folder has + a subdir, but no actual children, then we need to unset the flag for + CAMEL_FOLDER_CHILDREN + + Fixes #54470 + 2004-02-23 Jeffrey Stedfast <fejj@ximian.com> * camel-store.c (camel_store_uri_cmp): Removed. Useless/broken diff --git a/camel/providers/local/camel-mbox-store.c b/camel/providers/local/camel-mbox-store.c index fa7a0af527..94b2e6fbeb 100644 --- a/camel/providers/local/camel-mbox-store.c +++ b/camel/providers/local/camel-mbox-store.c @@ -736,6 +736,8 @@ scan_dir(CamelStore *store, GHashTable *visited, CamelFolderInfo *parent, const if ((fi->child = scan_dir(store, visited, fi, path, fi->full_name, flags, ex))) fi->flags |= CAMEL_FOLDER_CHILDREN; + else + fi->flags =(fi->flags & ~CAMEL_FOLDER_CHILDREN) | CAMEL_FOLDER_NOCHILDREN; } } |