Mercurial > hg > forks > geeqie
diff src/preferences.c @ 2769:ed8cc78cb9dd
Option to change default button for copy/move dialogs
Option on Preferences/Behavior to use With Rename as the default button
for Copy/Move dialogs.
The option is off by default.
author | Colin Clark <colin.clark@cclark.uk> |
---|---|
date | Thu, 07 Jun 2018 14:13:43 +0100 |
parents | 7d275582e37d |
children | 2e819f4a7a41 |
line wrap: on
line diff
--- a/src/preferences.c Thu Jun 07 11:44:36 2018 +0100 +++ b/src/preferences.c Thu Jun 07 14:13:43 2018 +0100 @@ -409,6 +409,7 @@ options->info_rating.height = c_options->info_rating.height; options->marks_save = c_options->marks_save; + options->with_rename = c_options->with_rename; config_entry_to_option(help_search_engine_entry, &options->help_search_engine, NULL); #ifdef DEBUG @@ -2372,6 +2373,7 @@ GtkWidget *spin; GtkWidget *table; GtkWidget *marks; + GtkWidget *with_rename; vbox = scrolled_notebook_page(notebook, _("Behavior")); @@ -2429,6 +2431,10 @@ options->marks_save, &c_options->marks_save); gtk_widget_set_tooltip_text(marks,"Note that marks linked to a keyword will be saved irrespective of this setting"); + with_rename = pref_checkbox_new_int(group, _("Use \"With Rename\" as default for Copy/Move dialogs"), + options->with_rename, &c_options->with_rename); + gtk_widget_set_tooltip_text(with_rename,"Change the default button for Copy/Move dialogs"); + pref_spin_new_int(group, _("Recent folder list maximum size"), NULL, 1, 50, 1, options->open_recent_list_maxsize, &c_options->open_recent_list_maxsize);