*** empty log message ***
authorgc <gc>
Mon, 17 Mar 2008 21:22:11 +0000 (21:22 +0000)
committergc <gc>
Mon, 17 Mar 2008 21:22:11 +0000 (21:22 +0000)
bin/booh-classifier

index 57606fb..acaf613 100644 (file)
@@ -1233,7 +1233,9 @@ def execute
                                                 nil,
                                                 [Gtk::Stock::OPEN, Gtk::Dialog::RESPONSE_ACCEPT], [Gtk::Stock::CANCEL, Gtk::Dialog::RESPONSE_CANCEL])
                 fc.transient_for = dialog
-                fc.current_folder = lastpath
+                if lastpath
+                    fc.current_folder = lastpath
+                end
                 if fc.run == Gtk::Dialog::RESPONSE_ACCEPT
                     pathlabel.text = fc.filename
                     pathlabel.set_alignment(0, 0.5)