From 5fcb5903d844a94168593965438310285b420828 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 14 Nov 2003 18:17:20 +0000 Subject: set flags in another place too svn path=/trunk/; revision=23357 --- camel/providers/local/camel-mbox-store.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'camel/providers') diff --git a/camel/providers/local/camel-mbox-store.c b/camel/providers/local/camel-mbox-store.c index d07176cc0d..8ef8168bf4 100644 --- a/camel/providers/local/camel-mbox-store.c +++ b/camel/providers/local/camel-mbox-store.c @@ -711,6 +711,12 @@ get_folder_info (CamelStore *store, const char *top, guint32 flags, CamelExcepti subdir = g_strdup_printf ("%s.sbd", path); if (stat (subdir, &st) == 0 && S_ISDIR (st.st_mode)) fi->child = scan_dir (store, visited, fi, subdir, top, flags, ex); + + if (fi->child) + fi->flags |= CAMEL_FOLDER_CHILDREN; + else + fi->flags |= CAMEL_FOLDER_NOINFERIORS; + g_free (subdir); } -- cgit v1.2.3