Skip to content

Commit

Permalink
Treebrowser: Fixed wrong expand state when working with directories
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitrov-adrian committed Oct 25, 2010
1 parent b308d1c commit 3901d4b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions treebrowser/ChangeLog
Expand Up @@ -36,6 +36,12 @@
+-------------------------------+


25-10-2010 Adrian Dimitrov <dimitrov.adrian@gmail.com>

* src/treebrowser.c
Fixed wrong expaned status of the directories


17-10-2010 Adrian Dimitrov <dimitrov.adrian@gmail.com>

* src/treebrowser.c
Expand Down
2 changes: 1 addition & 1 deletion treebrowser/src/treebrowser.c
Expand Up @@ -162,7 +162,7 @@ tree_view_row_expanded_iter(GtkTreeView *tree_view, GtkTreeIter *iter)
GtkTreePath *tree_path;
gboolean expanded;

tree_path = gtk_tree_model_get_path(gtk_tree_view_get_model(tree_view), &bookmarks_iter);
tree_path = gtk_tree_model_get_path(gtk_tree_view_get_model(tree_view), iter);
expanded = gtk_tree_view_row_expanded(tree_view, tree_path);
gtk_tree_path_free(tree_path);

Expand Down

0 comments on commit 3901d4b

Please sign in to comment.