Commit ea8e22bb authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

need to call gtk_tree_view_column_cell_set_cell_data() again after

2003-03-25  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainertreeview.c
	(gimp_container_tree_view_button_press): need to call
	gtk_tree_view_column_cell_set_cell_data() again after fiddling
	with the GtkTreeView (fixes bug #109121).
parent 74887c86
2003-03-25 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpcontainertreeview.c
(gimp_container_tree_view_button_press): need to call
gtk_tree_view_column_cell_set_cell_data() again after fiddling
with the GtkTreeView (fixes bug #109121).
2003-03-25 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpcontainertreeview.c
......@@ -772,8 +772,16 @@ gimp_container_tree_view_button_press (GtkWidget *widget,
{
/* don't select item if a toggle was clicked */
if (! toggled_cell)
gimp_container_view_item_selected (container_view,
renderer->viewable);
{
gimp_container_view_item_selected (container_view,
renderer->viewable);
/* another row may have been set by selecting */
gtk_tree_view_column_cell_set_cell_data (column,
tree_view->model,
&iter,
FALSE, FALSE);
}
/* a callback invoked by selecting the item may have
* destroyed us, so check if the container is still there
......
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