gtk2passwordapp 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/gtk2passwordapp +2 -2
- data/lib/gtk2passwordapp.rb +3 -4
- metadata +1 -1
data/bin/gtk2passwordapp
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
# $Date: 2009/02/20
|
2
|
+
# $Date: 2009/02/20 18:46:54 $
|
3
3
|
##########################################################
|
4
4
|
require 'lib/global_options_variables'
|
5
|
-
GlobalOptionsVariables.set('0.0.
|
5
|
+
GlobalOptionsVariables.set('0.0.3',
|
6
6
|
<<EOT
|
7
7
|
Usage: #{$0.sub(/^.*\//,'')} [options]
|
8
8
|
|
data/lib/gtk2passwordapp.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# $Date: 2009/02/20
|
1
|
+
# $Date: 2009/02/20 18:46:02 $
|
2
2
|
require 'lib/passwords_data'
|
3
3
|
require 'gtk2'
|
4
4
|
require 'find'
|
@@ -13,7 +13,7 @@ class Gtk2PasswordApp
|
|
13
13
|
'website' => 'http://ruby-gnome-apps.blogspot.com/search/label/Passwords',
|
14
14
|
'website-label' => 'Ruby Gnome Password Manager',
|
15
15
|
'license' => 'GPL',
|
16
|
-
'copyright' => '$Date: 2009/02/20
|
16
|
+
'copyright' => '$Date: 2009/02/20 18:46:02 $'.gsub(/\s*\$\s*/,''),
|
17
17
|
'logo' => Gdk::Pixbuf.new(LOGO_IMAGE),
|
18
18
|
}
|
19
19
|
|
@@ -583,8 +583,7 @@ class Gtk2PasswordApp
|
|
583
583
|
menuitem = Gtk::MenuItem.new('Run')
|
584
584
|
menuitem.signal_connect('activate'){
|
585
585
|
if !@window
|
586
|
-
verify_user
|
587
|
-
run
|
586
|
+
run if verify_user
|
588
587
|
end
|
589
588
|
}
|
590
589
|
menu.append(menuitem)
|