Mercurial > hg > forks > geeqie
diff src/preferences.c @ 2670:ec21b78a088c
Fix #543: Size of dialog windows in the GTK3 version is too small
https://github.com/BestImageViewer/geeqie/issues/543
Additional option in Preferences/Windows to preserve size and location
of dialog windows
author | Colin Clark <colin.clark@cclark.uk> |
---|---|
date | Thu, 23 Nov 2017 20:44:03 +0000 |
parents | 4aebea1b0d5c |
children | bef1f1a91df9 |
line wrap: on
line diff
--- a/src/preferences.c Fri Nov 17 16:46:18 2017 +0000 +++ b/src/preferences.c Thu Nov 23 20:44:03 2017 +0000 @@ -255,6 +255,7 @@ options->tools_restore_state = c_options->tools_restore_state; options->save_window_positions = c_options->save_window_positions; options->use_saved_window_positions_for_new_windows = c_options->use_saved_window_positions_for_new_windows; + options->save_dialog_window_positions = c_options->save_dialog_window_positions; options->image.scroll_reset_method = c_options->image.scroll_reset_method; options->image.zoom_2pass = c_options->image.zoom_2pass; options->image.fit_window_to_image = c_options->image.fit_window_to_image; @@ -1792,6 +1793,9 @@ pref_checkbox_new_int(group, _("Remember tool state (float/hidden)"), options->tools_restore_state, &c_options->tools_restore_state); + pref_checkbox_new_int(group, _("Remember dialog window positions"), + options->save_dialog_window_positions, &c_options->save_dialog_window_positions); + group = pref_group_new(vbox, FALSE, _("Size"), GTK_ORIENTATION_VERTICAL); pref_checkbox_new_int(group, _("Fit window to image when tools are hidden/floating"),