moved toolbar out of main vbox.

2005-09-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/animationplay.c: moved toolbar out of main vbox.
This commit is contained in:
Sven Neumann 2005-09-19 16:05:52 +00:00 committed by Sven Neumann
parent e9443b5774
commit 33fe2a19c9
2 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,7 @@
2005-09-19 Sven Neumann <sven@gimp.org>
* plug-ins/common/animationplay.c: moved toolbar out of main vbox.
2005-09-19 Sven Neumann <sven@gimp.org>
* autogen.sh

View File

@ -472,17 +472,18 @@ build_dialog (GimpImageBaseType basetype,
G_CALLBACK (window_response),
NULL);
ui_manager = ui_manager_new (dlg);
toolbar = gtk_ui_manager_get_widget (ui_manager, "/anim-play-toolbar");
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dlg)->vbox), toolbar,
FALSE, FALSE, 0);
gtk_widget_show (toolbar);
vbox = gtk_vbox_new (FALSE, 6);
gtk_container_set_border_width (GTK_CONTAINER (vbox), 12);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dlg)->vbox), vbox, TRUE, TRUE, 0);
gtk_widget_show (vbox);
ui_manager = ui_manager_new (dlg);
toolbar = gtk_ui_manager_get_widget (ui_manager, "/anim-play-toolbar");
gtk_box_pack_start (GTK_BOX (vbox), toolbar, FALSE, FALSE, 0);
gtk_widget_show (toolbar);
abox = gtk_alignment_new (0.5, 0.5, 0.0, 0.0);
gtk_box_pack_start (GTK_BOX (vbox), abox, TRUE, TRUE, 0);
gtk_widget_show (abox);