Commit 6a5ac168 authored by Kristian Rietveld's avatar Kristian Rietveld Committed by Kristian Rietveld

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.
parent 4ac57d17
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
......
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
......
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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment