forked from AuroraMiddleware/gtk
when open_all is TRUE, traverse the newly built tree to emit row_expanded
2005-07-09 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): when open_all is TRUE, traverse the newly built tree to emit row_expanded for the subitems. (rev 1.444, patch in #172319 broke this). Fixes #305582, reported by Billy Biggs.
This commit is contained in:
parent
4ac57d17e7
commit
6a5ac16898
@ -1,3 +1,10 @@
|
||||
2005-07-09 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_real_expand_row): when
|
||||
open_all is TRUE, traverse the newly built tree to emit
|
||||
row_expanded for the subitems. (rev 1.444, patch in #172319
|
||||
broke this). Fixes #305582, reported by Billy Biggs.
|
||||
|
||||
2005-07-09 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* configure.in: Look for windres on Win32. Drop build/* from
|
||||
|
@ -1,3 +1,10 @@
|
||||
2005-07-09 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_real_expand_row): when
|
||||
open_all is TRUE, traverse the newly built tree to emit
|
||||
row_expanded for the subitems. (rev 1.444, patch in #172319
|
||||
broke this). Fixes #305582, reported by Billy Biggs.
|
||||
|
||||
2005-07-09 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* configure.in: Look for windres on Win32. Drop build/* from
|
||||
|
@ -1,3 +1,10 @@
|
||||
2005-07-09 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_real_expand_row): when
|
||||
open_all is TRUE, traverse the newly built tree to emit
|
||||
row_expanded for the subitems. (rev 1.444, patch in #172319
|
||||
broke this). Fixes #305582, reported by Billy Biggs.
|
||||
|
||||
2005-07-09 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* configure.in: Look for windres on Win32. Drop build/* from
|
||||
|
@ -10766,6 +10766,14 @@ gtk_tree_view_real_expand_row (GtkTreeView *tree_view,
|
||||
install_presize_handler (tree_view);
|
||||
|
||||
g_signal_emit (tree_view, tree_view_signals[ROW_EXPANDED], 0, &iter, path);
|
||||
if (open_all)
|
||||
{
|
||||
_gtk_rbtree_traverse (node->children,
|
||||
node->children->root,
|
||||
G_PRE_ORDER,
|
||||
gtk_tree_view_expand_all_emission_helper,
|
||||
tree_view);
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user