ruby-****@sourc*****
ruby-****@sourc*****
2008年 10月 26日 (日) 13:21:40 JST
------------------------- REMOTE_ADDR = 222.225.51.171 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/ja/hiki.cgi?libglade2-tut-create-src ------------------------- @@ -344,12 +344,11 @@ File.open(get_platform_filename(filename), 'w') do |f| end rescue Errno::EINVAL => err p err - basename = File.basename(filename) dlg = Gtk::MessageDialog.new( @filedlg, Gtk::Dialog::MODAL, Gtk::MessageDialog::ERROR, Gtk::MessageDialog::BUTTONS_CLOSE, - basename + " is a invalid file name.") + File.basename(filename) + " is a invalid file name.") dlg.run dlg.destroy return false