diff options
author | Suman Manjunath <msuman@src.gnome.org> | 2008-12-08 17:20:00 +0800 |
---|---|---|
committer | Suman Manjunath <msuman@src.gnome.org> | 2008-12-08 17:20:00 +0800 |
commit | 49988a414f3ff41e5a79e1c855a77525d150cac9 (patch) | |
tree | 9ffc568a6b15094c2b7e0a71d4f970b636e45dfe /mail | |
parent | d6adb922d354cb7f46bb7eb52ce1d9034a5de0c3 (diff) | |
download | gsoc2013-evolution-49988a414f3ff41e5a79e1c855a77525d150cac9.tar gsoc2013-evolution-49988a414f3ff41e5a79e1c855a77525d150cac9.tar.gz gsoc2013-evolution-49988a414f3ff41e5a79e1c855a77525d150cac9.tar.bz2 gsoc2013-evolution-49988a414f3ff41e5a79e1c855a77525d150cac9.tar.lz gsoc2013-evolution-49988a414f3ff41e5a79e1c855a77525d150cac9.tar.xz 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')
-rw-r--r-- | mail/ChangeLog | 8 | ||||
-rw-r--r-- | mail/em-folder-tree.c | 3 |
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); |