mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
ext/tk/lib/tk.rb:
* fixed trouble on auto-load Tcl commands (enbug on the last commit). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
382b4ae9a3
commit
b4337be29f
1 changed files with 7 additions and 2 deletions
|
@ -1155,7 +1155,6 @@ module Tk
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
def root
|
def root
|
||||||
TkRoot.new
|
TkRoot.new
|
||||||
end
|
end
|
||||||
|
@ -2245,8 +2244,14 @@ module Tk
|
||||||
auto_path = Tk::LIBRARY
|
auto_path = Tk::LIBRARY
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
AUTO_PATH = TkVarAccess.new('auto_path', auto_path)
|
AUTO_PATH = TkVarAccess.new('auto_path', auto_path)
|
||||||
AUTO_OLDPATH = TkVarAccess.new('auto_oldpath', auto_path)
|
|
||||||
|
=begin
|
||||||
|
AUTO_OLDPATH = tk_split_simplelist(INTERP._invoke('set', 'auto_oldpath'))
|
||||||
|
AUTO_OLDPATH.each{|s| s.freeze}
|
||||||
|
AUTO_OLDPATH.freeze
|
||||||
|
=end
|
||||||
|
|
||||||
TCL_PACKAGE_PATH = TkVarAccess.new('tcl_pkgPath')
|
TCL_PACKAGE_PATH = TkVarAccess.new('tcl_pkgPath')
|
||||||
PACKAGE_PATH = TCL_PACKAGE_PATH
|
PACKAGE_PATH = TCL_PACKAGE_PATH
|
||||||
|
|
Loading…
Reference in a new issue