comparison src/preferences.c @ 2568:78518b422e23

Partial fix #504: Increase limit on Decoded Image Cache Size https://github.com/BestImageViewer/geeqie/issues/504
author Colin Clark <colin.clark@cclark.uk>
date Fri, 04 Aug 2017 21:04:45 +0100
parents 034d8772d6d8
children 3e5919841759
comparison
equal deleted inserted replaced
2567:09386a249046 2568:78518b422e23
1516 pref_checkbox_new_int(group, _("Repeat"), options->slideshow.repeat, &c_options->slideshow.repeat); 1516 pref_checkbox_new_int(group, _("Repeat"), options->slideshow.repeat, &c_options->slideshow.repeat);
1517 1517
1518 group = pref_group_new(vbox, FALSE, _("Image loading and caching"), GTK_ORIENTATION_VERTICAL); 1518 group = pref_group_new(vbox, FALSE, _("Image loading and caching"), GTK_ORIENTATION_VERTICAL);
1519 1519
1520 pref_spin_new_int(group, _("Decoded image cache size (Mb):"), NULL, 1520 pref_spin_new_int(group, _("Decoded image cache size (Mb):"), NULL,
1521 0, 1024, 1, options->image.image_cache_max, &c_options->image.image_cache_max); 1521 0, 99999, 1, options->image.image_cache_max, &c_options->image.image_cache_max);
1522 pref_checkbox_new_int(group, _("Preload next image"), 1522 pref_checkbox_new_int(group, _("Preload next image"),
1523 options->image.enable_read_ahead, &c_options->image.enable_read_ahead); 1523 options->image.enable_read_ahead, &c_options->image.enable_read_ahead);
1524 1524
1525 pref_checkbox_new_int(group, _("Refresh on file change"), 1525 pref_checkbox_new_int(group, _("Refresh on file change"),
1526 options->update_on_time_change, &c_options->update_on_time_change); 1526 options->update_on_time_change, &c_options->update_on_time_change);