aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog8
-rw-r--r--mail/em-folder-tree.c3
2 files changed, 10 insertions, 1 deletions
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 <mcrha@redhat.com>
+
+ ** 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 <psankar@novell.com>
** 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);