From 49988a414f3ff41e5a79e1c855a77525d150cac9 Mon Sep 17 00:00:00 2001 From: Suman Manjunath Date: Mon, 8 Dec 2008 09:20:00 +0000 Subject: Milan Crha ** 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 --- mail/ChangeLog | 8 ++++++++ mail/em-folder-tree.c | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index b8d46b87d1..f428185459 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,11 @@ +2008-12-08 Milan Crha + + ** Fix for bug #337082 + + * em-folder-tree.c: (emft_tree_row_expanded): Do not set we finished + with loading until we are really done with it. The previous behavior + can cause duplicate nodes in tree for subscribed folders. + 2008-12-08 Sankar P ** Fixes bug #552583 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); -- cgit v1.2.3