drx 0.4.3 → 0.4.4
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.
- data/lib/drx/tk/app.rb +7 -0
- 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.
|
|
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-
|
|
12
|
+
date: 2010-04-19 00:00:00 +03:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies: []
|
|
15
15
|
|