From: gc Date: Mon, 26 Dec 2005 17:47:46 +0000 (+0000) Subject: keep 10 instead of 5 recently opened files X-Git-Tag: 0.9.0~302 X-Git-Url: http://git.zarb.org/?p=booh;a=commitdiff_plain;h=c3034bf88f1ac7da445d22ec32b8dd5773b02305 keep 10 instead of 5 recently opened files --- diff --git a/bin/booh b/bin/booh index 830ddcd..969b3ca 100755 --- a/bin/booh +++ b/bin/booh @@ -151,8 +151,8 @@ Problem was: '%s' is not an executable file.") % browser_binary), { :pos_centere end def write_config - if $config['last-opens'] && $config['last-opens'].size > 5 - $config['last-opens'] = $config['last-opens'][-5, 5] + if $config['last-opens'] && $config['last-opens'].size > 10 + $config['last-opens'] = $config['last-opens'][-10, 10] end ios = File.open($config_file, "w")