Commit 28e1f2a9 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

call gimp_container_editor_select_item() manually at construction time so

2004-08-27  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainereditor.c
	(gimp_container_editor_construct): call
	gimp_container_editor_select_item() manually at construction time
	so views show the initially selected object's state correctly
	(e.g. the brush spacing). Fixes bug #151227.
parent ec4cc4f8
2004-08-27 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpcontainereditor.c
(gimp_container_editor_construct): call
gimp_container_editor_select_item() manually at construction time
so views show the initially selected object's state correctly
(e.g. the brush spacing). Fixes bug #151227.
2004-08-27 DindinX <david@dindinx.org>
* app/widgets/gimpnavigationpreview.c
......
......@@ -202,6 +202,15 @@ gimp_container_editor_construct (GimpContainerEditor *editor,
G_CALLBACK (gimp_container_editor_context_item),
editor, 0);
{
GimpObject *object = gimp_context_get_by_type (context,
container->children_type);
gimp_container_editor_select_item (GTK_WIDGET (editor->view),
(GimpViewable *) object, NULL,
editor);
}
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