aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
authorRodney Dawes <dobey@ximian.com>2004-02-24 23:48:59 +0800
committerRodney Dawes <dobey@src.gnome.org>2004-02-24 23:48:59 +0800
commit377deb017693a02fea68b7555ccd1e2ccda01610 (patch)
treee974763e913bc9287a397f7a47055f1ac13270f0 /camel/providers
parent7643637e5b023637c63a975def9bfbbfbed2b3c9 (diff)
downloadgsoc2013-evolution-377deb017693a02fea68b7555ccd1e2ccda01610.tar
gsoc2013-evolution-377deb017693a02fea68b7555ccd1e2ccda01610.tar.gz
gsoc2013-evolution-377deb017693a02fea68b7555ccd1e2ccda01610.tar.bz2
gsoc2013-evolution-377deb017693a02fea68b7555ccd1e2ccda01610.tar.lz
gsoc2013-evolution-377deb017693a02fea68b7555ccd1e2ccda01610.tar.xz
gsoc2013-evolution-377deb017693a02fea68b7555ccd1e2ccda01610.tar.zst
gsoc2013-evolution-377deb017693a02fea68b7555ccd1e2ccda01610.zip
If our folder has a subdir, but no actual children, then we need to unset
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 svn path=/trunk/; revision=24845
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/local/camel-mbox-store.c2
1 files changed, 2 insertions, 0 deletions
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;
}
}