green_shoes 1.1.364 → 1.1.365
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/shoes/app.rb +7 -1
- data/lib/shoes/basic.rb +5 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.365
|
data/lib/shoes/app.rb
CHANGED
@@ -321,7 +321,13 @@ class Shoes
|
|
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]
|
324
|
-
|
324
|
+
if args[:choose]
|
325
|
+
unless args[:entry]
|
326
|
+
cb.active = args[:items].index(args[:choose])
|
327
|
+
else
|
328
|
+
cb.child.text = args[:choose].to_s
|
329
|
+
end
|
330
|
+
end
|
325
331
|
@canvas.put cb, args[:left], args[:top]
|
326
332
|
cb.show_now
|
327
333
|
args[:real], args[:app] = cb, self
|
data/lib/shoes/basic.rb
CHANGED
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.
|
4
|
+
version: 1.1.365
|
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-
|
12
|
+
date: 2012-08-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: gtk2
|