mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Set a default size to the "Edit Trip Info" window
Debian and Ubuntu's distributed Gtk decide to make the window tiny (completely hiding the Notes section). To prevent that we "put" a default size of 400x300px to the window, which is proportionally OK compared to the main window's default size. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
3e3e632e1f
commit
cfb1baa030
1 changed files with 1 additions and 0 deletions
1
info.c
1
info.c
|
@ -629,6 +629,7 @@ gboolean edit_trip(dive_trip_t *trip)
|
|||
GTK_STOCK_OK, GTK_RESPONSE_ACCEPT,
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_REJECT,
|
||||
NULL);
|
||||
gtk_window_set_default_size(GTK_WINDOW(dialog), 400, 300);
|
||||
vbox = gtk_dialog_get_content_area(GTK_DIALOG(dialog));
|
||||
dive_trip_widget(vbox, trip, &info);
|
||||
gtk_widget_show_all(dialog);
|
||||
|
|
Loading…
Add table
Reference in a new issue