put back the hack which calls gtk_tree_selection_select_iter() in addition

2003-06-24  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainertreeview.c
	(gimp_container_tree_view_select_item): put back the hack which
	calls gtk_tree_selection_select_iter() in addition to
	gtk_tree_view_set_cursor() until bug #115871 is fixed.
This commit is contained in:
Michael Natterer 2003-06-24 17:42:57 +00:00 committed by Michael Natterer
parent a5e1a2d437
commit b5c689a29a
2 changed files with 11 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2003-06-24 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpcontainertreeview.c
(gimp_container_tree_view_select_item): put back the hack which
calls gtk_tree_selection_select_iter() in addition to
gtk_tree_view_set_cursor() until bug #115871 is fixed.
2003-06-24 Sven Neumann <sven@gimp.org>
Added persistent storage of text layers in XCF files. We use a

View file

@ -550,9 +550,11 @@ gimp_container_tree_view_select_item (GimpContainerView *view,
gtk_tree_view_set_cursor (tree_view->view, path, NULL, FALSE);
#if 0
gtk_tree_selection_select_iter (tree_view->selection, iter);
#ifdef __GNUC__
#warning FIXME: remove this hack as soon as #115871 is fixed
#endif
/* gtk_tree_view_set_cursor() should be sufficient actually... */
gtk_tree_selection_select_iter (tree_view->selection, iter);
g_signal_handlers_unblock_by_func (tree_view->selection,
gimp_container_tree_view_selection_changed,