Skip to content

Commit

Permalink
Allow the user to change open_recent_list_maxsize option through
Browse files Browse the repository at this point in the history
Preferences > Advanced > Navigation.
  • Loading branch information
Laurent Monin committed Apr 20, 2008
1 parent 71f3f6c commit c97955e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/preferences.c
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,9 @@ static void config_window_apply(void)
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
Expand Down Expand Up @@ -1401,6 +1404,9 @@ static void config_tab_advanced(GtkWidget *notebook)
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"),
Expand Down

0 comments on commit c97955e

Please sign in to comment.