green_shoes 1.1.365 → 1.1.366

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.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/shoes/main.rb +7 -2
  3. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.365
1
+ 1.1.366
@@ -20,8 +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
+ if args[:fullscreen]
24
+ win.decorated = false
25
+ win.maximize
26
+ else
27
+ win.title = args[:title]
28
+ win.set_default_size args[:width], args[:height]
29
+ end
25
30
 
26
31
  style = win.style
27
32
  style.set_bg Gtk::STATE_NORMAL, 65535, 65535, 65535
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.365
4
+ version: 1.1.366
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-29 00:00:00.000000000 Z
12
+ date: 2012-10-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: gtk2