drx 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/drx/tk/app.rb +7 -0
  2. metadata +2 -2
data/lib/drx/tk/app.rb CHANGED
@@ -1,3 +1,10 @@
1
+
2
+ # The following forces Ruby 1.9 to run Tk.mainloop in the main thread. Or
3
+ # else DrX::TkGUI::Appliation#run won't work correctly: after calling it
4
+ # twice, Tk.mainloop won't return, as it (apparently) won't detect the root
5
+ # window has been destroyed.
6
+ module TkCore; RUN_EVENTLOOP_ON_MAIN_THREAD = true; end
7
+
1
8
  require 'tk'
2
9
  require 'drx/tk/imagemap'
3
10
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: drx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mooffie
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-04-16 00:00:00 +03:00
12
+ date: 2010-04-19 00:00:00 +03:00
13
13
  default_executable:
14
14
  dependencies: []
15
15