aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2003-11-15 02:17:20 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-11-15 02:17:20 +0800
commit5fcb5903d844a94168593965438310285b420828 (patch)
tree09ba28979eba57b4bbe9e3a95e2c6b434b7827a6 /camel
parentd182d3473e17421d7eafb2b4817dace196cec757 (diff)
downloadgsoc2013-evolution-5fcb5903d844a94168593965438310285b420828.tar
gsoc2013-evolution-5fcb5903d844a94168593965438310285b420828.tar.gz
gsoc2013-evolution-5fcb5903d844a94168593965438310285b420828.tar.bz2
gsoc2013-evolution-5fcb5903d844a94168593965438310285b420828.tar.lz
gsoc2013-evolution-5fcb5903d844a94168593965438310285b420828.tar.xz
gsoc2013-evolution-5fcb5903d844a94168593965438310285b420828.tar.zst
gsoc2013-evolution-5fcb5903d844a94168593965438310285b420828.zip
set flags in another place too
svn path=/trunk/; revision=23357
Diffstat (limited to 'camel')
-rw-r--r--camel/providers/local/camel-mbox-store.c6
1 files changed, 6 insertions, 0 deletions
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);
}