green_shoes 1.1.366 → 1.1.367
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/shoes/main.rb +4 -3
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.367
|
data/lib/shoes/main.rb
CHANGED
@@ -20,12 +20,13 @@ class Shoes
|
|
20
20
|
app.top_slot = Flow.new app.slot_attributes(app: app, left: 0, top: 0)
|
21
21
|
|
22
22
|
win = get_win
|
23
|
+
win.title = args[:title]
|
24
|
+
win.set_default_size args[:width], args[:height]
|
23
25
|
if args[:fullscreen]
|
24
26
|
win.decorated = false
|
25
27
|
win.maximize
|
26
|
-
|
27
|
-
|
28
|
-
win.set_default_size args[:width], args[:height]
|
28
|
+
elsif args[:maximize]
|
29
|
+
win.maximize
|
29
30
|
end
|
30
31
|
|
31
32
|
style = win.style
|
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.367
|
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-10-
|
12
|
+
date: 2012-10-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: gtk2
|