Fix a packing issue on GTK3

GTK3 changed the default for expand and fill, so explicitly set them.
This commit is contained in:
Colomban Wendling 2012-09-16 00:18:58 +02:00
parent 6c942c1436
commit 1839451363

View File

@ -1391,7 +1391,7 @@ GtkWidget *ui_dialog_vbox_new(GtkDialog *dialog)
GtkWidget *vbox = gtk_vbox_new(FALSE, 12); /* need child vbox to set a separate border. */
gtk_container_set_border_width(GTK_CONTAINER(vbox), 6);
gtk_container_add(GTK_CONTAINER(gtk_dialog_get_content_area(GTK_DIALOG(dialog))), vbox);
gtk_box_pack_start(GTK_BOX(gtk_dialog_get_content_area(GTK_DIALOG(dialog))), vbox, TRUE, TRUE, 0);
return vbox;
}