* ext/tk/lib/tk.rb: fail to create a widget object for an unknown wiget path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bdfe1c7f8e
commit
924e2fcefa
@ -1,3 +1,8 @@
|
|||||||
|
Sat Jul 18 07:56:00 2009 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||||
|
|
||||||
|
* ext/tk/lib/tk.rb: fail to create a widget object for an unknown
|
||||||
|
wiget path.
|
||||||
|
|
||||||
Sat Jul 18 07:06:31 2009 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
Sat Jul 18 07:06:31 2009 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||||
|
|
||||||
* ext/tk/lib/tk.rb,ext/tk/lib/tk/grid.rb: Bug fix on grid_slaves().
|
* ext/tk/lib/tk.rb,ext/tk/lib/tk/grid.rb: Bug fix on grid_slaves().
|
||||||
|
@ -119,7 +119,7 @@ module TkComm
|
|||||||
classname_def = ''
|
classname_def = ''
|
||||||
else # ruby_class == nil
|
else # ruby_class == nil
|
||||||
if Tk.const_defined?(tk_class)
|
if Tk.const_defined?(tk_class)
|
||||||
mod.const_get(tk_class) # auto_load
|
Tk.const_get(tk_class) # auto_load
|
||||||
ruby_class = WidgetClassNames[tk_class]
|
ruby_class = WidgetClassNames[tk_class]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user