green_shoes 1.1.363 → 1.1.364

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/shoes/app.rb +1 -1
  3. data/lib/shoes/basic.rb +1 -1
  4. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.363
1
+ 1.1.364
@@ -317,7 +317,7 @@ class Shoes
317
317
  args[:width] = 200 if args[:width].zero?
318
318
  args[:height] = 28 if args[:height].zero?
319
319
  (change_proc = args[:change]; args.delete :change) if args[:change]
320
- cb = Gtk::ComboBox.new
320
+ cb = args[:entry] ? Gtk::ComboBoxEntry.new : Gtk::ComboBox.new
321
321
  args[:items] ||= []
322
322
  args[:items].each{|item| cb.append_text item.to_s}
323
323
  cb.set_size_request args[:width], args[:height]
@@ -397,7 +397,7 @@ class Shoes
397
397
 
398
398
  class ListBox < Native
399
399
  def text
400
- @items[@real.active]
400
+ @entry ? @real.active_text : @items[@real.active]
401
401
  end
402
402
 
403
403
  def choose item
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: green_shoes
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.363
4
+ version: 1.1.364
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-24 00:00:00.000000000 Z
12
+ date: 2012-08-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: gtk2
@@ -336,7 +336,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
336
336
  version: '0'
337
337
  requirements: []
338
338
  rubyforge_project:
339
- rubygems_version: 1.8.23
339
+ rubygems_version: 1.8.24
340
340
  signing_key:
341
341
  specification_version: 3
342
342
  summary: Green Shoes