aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-tree.c
diff options
context:
space:
mode:
authorSuman Manjunath <msuman@src.gnome.org>2008-12-08 17:20:00 +0800
committerSuman Manjunath <msuman@src.gnome.org>2008-12-08 17:20:00 +0800
commit49988a414f3ff41e5a79e1c855a77525d150cac9 (patch)
tree9ffc568a6b15094c2b7e0a71d4f970b636e45dfe /mail/em-folder-tree.c
parentd6adb922d354cb7f46bb7eb52ce1d9034a5de0c3 (diff)
downloadgsoc2013-evolution-49988a414f3ff41e5a79e1c855a77525d150cac9.tar.gz
gsoc2013-evolution-49988a414f3ff41e5a79e1c855a77525d150cac9.tar.zst
gsoc2013-evolution-49988a414f3ff41e5a79e1c855a77525d150cac9.zip
Milan Crha <mcrha@redhat.com> ** Fix for bug #337082 (Do not set 'finished loading' until we are really done with it. The previous behavior can cause duplicate nodes in tree for subscribed folders).
svn path=/trunk/; revision=36847
Diffstat (limited to 'mail/em-folder-tree.c')
-rw-r--r--mail/em-folder-tree.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c
index ee2283f253..1eed0fd671 100644
--- a/mail/em-folder-tree.c
+++ b/mail/em-folder-tree.c
@@ -1896,7 +1896,8 @@ emft_tree_row_expanded (GtkTreeView *treeview, GtkTreeIter *root, GtkTreePath *t
return;
}
- gtk_tree_store_set((GtkTreeStore *)model, root, COL_BOOL_LOAD_SUBDIRS, FALSE, -1);
+ /* do not set LOAD_SUBDIRS to FALSE until we are really done with loading */
+ /* gtk_tree_store_set ((GtkTreeStore *)model, root, COL_BOOL_LOAD_SUBDIRS, FALSE, -1); */
m = mail_msg_new (&get_folder_info_info);
m->root = gtk_tree_row_reference_new (model, tree_path);