# HG changeset patch # User zas_ # Date 1208038634 0 # Node ID 63380ea3e65d06fde5259ccf5da0e0d0bcc74e88 # Parent 07490120df2d22ac22112f134b636fd9b7094c3e Rename recent_list_max/open_recent_max to open_recent_list_maxsize. diff -r 07490120df2d -r 63380ea3e65d src/globals.c --- a/src/globals.c Sat Apr 12 22:10:38 2008 +0000 +++ b/src/globals.c Sat Apr 12 22:17:14 2008 +0000 @@ -82,7 +82,7 @@ options->mousewheel_scrolls = FALSE; options->file_ops.enable_in_place_rename = TRUE; - options->recent_list_max = 10; + options->open_recent_list_maxsize = 10; options->collections.rectangular_selection = FALSE; diff -r 07490120df2d -r 63380ea3e65d src/layout_util.c --- a/src/layout_util.c Sat Apr 12 22:10:38 2008 +0000 +++ b/src/layout_util.c Sat Apr 12 22:17:14 2008 +0000 @@ -1031,7 +1031,7 @@ { if (!path) return; - history_list_add_to_key("recent", path, options->recent_list_max); + history_list_add_to_key("recent", path, options->open_recent_list_maxsize); layout_recent_update_all(); } diff -r 07490120df2d -r 63380ea3e65d src/rcfile.c --- a/src/rcfile.c Sat Apr 12 22:10:38 2008 +0000 +++ b/src/rcfile.c Sat Apr 12 22:17:14 2008 +0000 @@ -293,7 +293,7 @@ secure_fputc(ssi, '\n'); write_bool_option(ssi, "mouse_wheel_scrolls", options->mousewheel_scrolls); - write_int_option(ssi, "open_recent_max", options->recent_list_max); + write_int_option(ssi, "open_recent_list_maxsize", options->open_recent_list_maxsize); write_bool_option(ssi, "display_dialogs_under_mouse", options->place_dialogs_under_mouse); @@ -571,8 +571,8 @@ options->mousewheel_scrolls = read_bool_option(f, option, "mouse_wheel_scrolls", value, options->mousewheel_scrolls); - options->recent_list_max = read_int_option(f, option, - "open_recent_max", value, options->recent_list_max); + options->open_recent_list_maxsize = read_int_option(f, option, + "open_recent_list_maxsize", value, options->open_recent_list_maxsize); options->place_dialogs_under_mouse = read_bool_option(f, option, "display_dialogs_under_mouse", value, options->place_dialogs_under_mouse); diff -r 07490120df2d -r 63380ea3e65d src/typedefs.h --- a/src/typedefs.h Sat Apr 12 22:10:38 2008 +0000 +++ b/src/typedefs.h Sat Apr 12 22:17:14 2008 +0000 @@ -750,7 +750,7 @@ gint duplicates_similarity_threshold; - gint recent_list_max; + gint open_recent_list_maxsize; /* file ops */ struct {