From: gc Date: Mon, 26 Dec 2005 17:47:07 +0000 (+0000) Subject: confirming save-as adds an entry in recently opened files X-Git-Tag: 0.9.0~303 X-Git-Url: http://git.zarb.org/?p=booh;a=commitdiff_plain;h=6ceba135c552ae78eb34c44b8549f7346a9013f4 confirming save-as adds an entry in recently opened files --- diff --git a/bin/booh b/bin/booh index 68972cd..830ddcd 100755 --- 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