keep 10 instead of 5 recently opened files
authorgc <gc>
Mon, 26 Dec 2005 17:47:46 +0000 (17:47 +0000)
committergc <gc>
Mon, 26 Dec 2005 17:47:46 +0000 (17:47 +0000)
bin/booh

index 830ddcd1747e63d38869a85a78d8a927e030a70e..969b3ca5b6be4fb201039ea520c39d79846fcc4b 100755 (executable)
--- 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")