Mercurial > geeqie
changeset 441:08eb7137cd94
Allow the user to change open_recent_list_maxsize option through
Preferences > Advanced > Navigation.
author | zas_ |
---|---|
date | Sun, 20 Apr 2008 10:05:27 +0000 |
parents | 3d16af3b133a |
children | 4b2d7f9af171 |
files | src/preferences.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/preferences.c Sun Apr 20 09:53:37 2008 +0000 +++ b/src/preferences.c Sun Apr 20 10:05:27 2008 +0000 @@ -265,6 +265,9 @@ options->duplicates_similarity_threshold = c_options->duplicates_similarity_threshold; options->tree_descend_subdirs = c_options->tree_descend_subdirs; + + options->open_recent_list_maxsize = c_options->open_recent_list_maxsize; + #ifdef DEBUG debug = debug_c; #endif @@ -1401,6 +1404,9 @@ pref_checkbox_new_int(group, _("In place renaming"), options->file_ops.enable_in_place_rename, &c_options->file_ops.enable_in_place_rename); + pref_spin_new_int(group, _("Open recent list maximum size"), NULL, + 1, 50, 1, options->open_recent_list_maxsize, &c_options->open_recent_list_maxsize); + group = pref_group_new(vbox, FALSE, _("Navigation"), GTK_ORIENTATION_VERTICAL); pref_checkbox_new_int(group, _("Progressive keyboard scrolling"),