region: Make sure the layouts tree doesn't end up empty

By making the whole panel bigger. Might work-around a GTK+ bug, we
won't know for now...
This commit is contained in:
Bastien Nocera 2011-01-21 17:38:10 +00:00
parent 94507750ce
commit 5db534af2f

View file

@ -64,15 +64,14 @@ setup_dialog (GtkBuilder * dialog)
GtkWidget * GtkWidget *
gnome_region_properties_init (GtkBuilder * dialog) gnome_region_properties_init (GtkBuilder * dialog)
{ {
GtkWidget *dialog_win = NULL; GtkWidget *region_notebook = NULL;
create_dialog (dialog); create_dialog (dialog);
if (dialog) { if (dialog) {
setup_dialog (dialog); setup_dialog (dialog);
dialog_win = WID ("region_dialog"); region_notebook = WID ("region_notebook");
/* g_signal_connect (dialog_win, "response", gtk_widget_set_size_request (GTK_WIDGET (region_notebook), -1, 400);
G_CALLBACK (dialog_response_cb), NULL); */
} }
return dialog_win; return region_notebook;
} }