Mercurial > geeqie
changeset 343:63380ea3e65d
Rename recent_list_max/open_recent_max to open_recent_list_maxsize.
author | zas_ |
---|---|
date | Sat, 12 Apr 2008 22:17:14 +0000 |
parents | 07490120df2d |
children | ffb787e833ee |
files | src/globals.c src/layout_util.c src/rcfile.c src/typedefs.h |
diffstat | 4 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- 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;
--- 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(); }
--- 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);