lib/gtk2passwordapp.rb in gtk2passwordapp-0.0.2 vs lib/gtk2passwordapp.rb in gtk2passwordapp-0.0.3
- old
+ new
@@ -1,6 +1,6 @@
-# $Date: 2009/02/20 16:08:59 $
+# $Date: 2009/02/20 18:46:02 $
require 'lib/passwords_data'
require 'gtk2'
require 'find'
class Gtk2PasswordApp
@@ -11,11 +11,11 @@
'comments' => "Ruby-Gtk2 Password Manager.",
'version' => $version,
'website' => 'http://ruby-gnome-apps.blogspot.com/search/label/Passwords',
'website-label' => 'Ruby Gnome Password Manager',
'license' => 'GPL',
- 'copyright' => '$Date: 2009/02/20 16:08:59 $'.gsub(/\s*\$\s*/,''),
+ 'copyright' => '$Date: 2009/02/20 18:46:02 $'.gsub(/\s*\$\s*/,''),
'logo' => Gdk::Pixbuf.new(LOGO_IMAGE),
}
BUTTONS = [[ :username, :current, :url, ],[ :note, :edit, :quit, ],]
@@ -581,11 +581,10 @@
menu.append(menuitem)
menuitem = Gtk::MenuItem.new('Run')
menuitem.signal_connect('activate'){
if !@window
- verify_user
- run
+ run if verify_user
end
}
menu.append(menuitem)
menu.show_all