confirming save-as adds an entry in recently opened files
authorgc <gc>
Mon, 26 Dec 2005 17:47:07 +0000 (17:47 +0000)
committergc <gc>
Mon, 26 Dec 2005 17:47:07 +0000 (17:47 +0000)
bin/booh

index 68972cd3c40d45bf22991dc355aec0356ed6b3ac..830ddcd1747e63d38869a85a78d8a927e030a70e 100755 (executable)
--- a/bin/booh
+++ b/bin/booh
@@ -3058,6 +3058,8 @@ def save_as_do
     if fc.run == Gtk::Dialog::RESPONSE_ACCEPT
         $orig_filename = fc.filename
         save_current_file_user
+        $config['last-opens'] ||= []
+        $config['last-opens'] << $orig_filename
     end
     fc.destroy
 end