region: Avoid starting with a gap at the bottom of the input chooser
We can simply let the natural size request determine the dialog's height. https://bugzilla.gnome.org/show_bug.cgi?id=783058
This commit is contained in:
parent
c99f6b58aa
commit
4bb33fd878
1 changed files with 1 additions and 1 deletions
|
@ -1114,7 +1114,7 @@ cc_input_chooser_new (GtkWindow *main_window,
|
|||
|
||||
/* Try to come up with a sensible size */
|
||||
gtk_window_get_size (main_window, &width, &height);
|
||||
gtk_widget_set_size_request (chooser, width * MAIN_WINDOW_WIDTH_RATIO, height);
|
||||
gtk_widget_set_size_request (chooser, width * MAIN_WINDOW_WIDTH_RATIO, -1);
|
||||
gtk_window_set_resizable (GTK_WINDOW (chooser), TRUE);
|
||||
|
||||
gtk_window_set_transient_for (GTK_WINDOW (chooser), main_window);
|
||||
|
|
Loading…
Add table
Reference in a new issue