quick_start 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.rdoc CHANGED
@@ -6,7 +6,6 @@ after window manager loaded.
6
6
 
7
7
  == Installation
8
8
 
9
- sudo gem sources -a http://gemcutter.org
10
9
  sudo gem install quick_start
11
10
 
12
11
  GNOME panel:
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
@@ -10,8 +10,7 @@ module QuickStart
10
10
  end
11
11
 
12
12
  def checked
13
- # FIXME
14
- !options[:unchecked]
13
+ options[:checked]
15
14
  end
16
15
 
17
16
  alias :checked? :checked
@@ -33,10 +33,12 @@
33
33
  </child>
34
34
  <child>
35
35
  <widget class="GtkButton" id="btn_run">
36
- <property name="label" translatable="yes">Start</property>
36
+ <property name="label" translatable="yes">_start</property>
37
37
  <property name="visible">True</property>
38
38
  <property name="can_focus">True</property>
39
+ <property name="has_focus">True</property>
39
40
  <property name="receives_default">True</property>
41
+ <property name="use_underline">True</property>
40
42
  <signal name="clicked" handler="on_btn_run_clicked"/>
41
43
  </widget>
42
44
  <packing>
@@ -8,7 +8,6 @@ module QuickStart
8
8
  def initialize(path_or_data, root = nil, domain = nil, localedir = nil, flag = GladeXML::FILE)
9
9
  bindtextdomain(domain, localedir, nil, "UTF-8")
10
10
  @glade = GladeXML.new(path_or_data, root, domain, localedir, flag) {|handler| method(handler)}
11
- @selected_map = {}
12
11
  end
13
12
 
14
13
  def show
@@ -26,20 +25,12 @@ module QuickStart
26
25
  @window.signal_connect('destroy') { Gtk.main_quit }
27
26
  end
28
27
 
29
- def on_chb_application_toggled(widget)
30
- if widget.active?
31
- selected << widget.name
32
- else
33
- selected.delete( widget.name )
34
- end
35
- end
36
-
37
28
  def on_btn_run_clicked(widget)
38
- Core.config.executables.each do |e|
39
- next unless e.checked?
40
- show_status( "Running #{e.name}", e.name ) do
41
- e.run
42
- end
29
+ Core.config.executables.each do |e|
30
+ next unless e.checked?
31
+ show_status( "Running #{e.name}", e.name ) do
32
+ e.run
33
+ end
43
34
  end
44
35
  Gtk.main_quit
45
36
  end
@@ -61,7 +52,7 @@ module QuickStart
61
52
  end
62
53
  button
63
54
  end
64
-
55
+
65
56
  def widget_to_executable(widget)
66
57
  widget.name.sub(/^chb_/, '')
67
58
  end
data/quick_start.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{quick_start}
8
- s.version = "0.3.0"
8
+ s.version = "0.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Micha\305\202 \305\201omnicki"]
12
- s.date = %q{2010-02-19}
12
+ s.date = %q{2010-03-12}
13
13
  s.default_executable = %q{quick_start}
14
14
  s.description = %q{GTK application used to quickly choose startup programs for current session}
15
15
  s.email = %q{michal@lomnicki.com.pl}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quick_start
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Micha\xC5\x82 \xC5\x81omnicki"
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-02-19 00:00:00 +01:00
12
+ date: 2010-03-12 00:00:00 +01:00
13
13
  default_executable: quick_start
14
14
  dependencies: []
15
15