Add a central hbox for docks and display shells

This commit is contained in:
Michael Natterer 2009-09-29 21:47:58 +02:00
parent 1c430a2b19
commit b0f7a7daf4
1 changed files with 7 additions and 1 deletions

View File

@ -69,6 +69,7 @@ struct _GimpImageWindowPrivate
GtkWidget *main_vbox;
GtkWidget *menubar;
GtkWidget *hbox;
GtkWidget *statusbar;
GdkWindowState window_state;
@ -250,6 +251,11 @@ gimp_image_window_constructor (GType type,
window);
}
private->hbox = gtk_hbox_new (FALSE, 0);
gtk_box_pack_start (GTK_BOX (private->main_vbox), private->hbox,
TRUE, TRUE, 0);
gtk_widget_show (private->hbox);
private->statusbar = gimp_statusbar_new ();
gimp_help_set_help_data (private->statusbar, NULL,
GIMP_HELP_IMAGE_WINDOW_STATUS_BAR);
@ -540,7 +546,7 @@ gimp_image_window_add_shell (GimpImageWindow *window,
private->shells = g_list_append (private->shells, shell);
/* FIXME multiple shells */
gtk_box_pack_start (GTK_BOX (private->main_vbox), GTK_WIDGET (shell),
gtk_box_pack_start (GTK_BOX (private->hbox), GTK_WIDGET (shell),
TRUE, TRUE, 0);
gtk_widget_show (GTK_WIDGET (shell));
}