mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/tk/lib/tkextlib/tile.rb: bug fix (Tk::Tile::USE_TTK_NAMESPACE
is not defined). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1ce26d09fe
commit
63e6a0a91f
4 changed files with 16 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Nov 22 02:31:53 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||
|
||||
* ext/tk/lib/tkextlib/tile.rb: bug fix (Tk::Tile::USE_TTK_NAMESPACE
|
||||
is not defined).
|
||||
|
||||
Tue Nov 22 01:45:21 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* file.c (rb_file_s_basename): DOSISH_UNC is defined on cygwin but
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
2005-11-22 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||
|
||||
* lib/tkextlib/tile.rb: bug fix (Tk::Tile::USE_TTK_NAMESPACE
|
||||
is not defined).
|
||||
|
||||
2005-11-19 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||
|
||||
* sample/tkextlib/treectrl/demo.rb: remove dependency on Ruby's
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
[ current support status of Tcl/Tk extensions ]
|
||||
|
||||
*******<<< RELEASE_DATE of the libraries : 2005/10/23 >>>*******
|
||||
*******<<< RELEASE_DATE of the libraries : 2005/11/22 >>>*******
|
||||
|
||||
The following list shows *CURRENT* status when this file was modifyed
|
||||
at last. If you want to add other Tcl/Tk extensions to the planed list
|
||||
|
|
|
@ -14,6 +14,7 @@ require 'tkextlib/tile/setup.rb'
|
|||
# load package
|
||||
# TkPackage.require('tile', '0.4')
|
||||
# TkPackage.require('tile', '0.6')
|
||||
# TkPackage.require('tile', '0.7')
|
||||
verstr = TkPackage.require('tile')
|
||||
ver = verstr.split('.')
|
||||
if ver[0].to_i == 0 && ver[1].to_i <= 4
|
||||
|
@ -21,6 +22,7 @@ if ver[0].to_i == 0 && ver[1].to_i <= 4
|
|||
module Tk
|
||||
module Tile
|
||||
USE_TILE_NAMESPACE = true
|
||||
USE_TTK_NAMESPACE = false
|
||||
TILE_SPEC_VERSION_ID = 0
|
||||
end
|
||||
end
|
||||
|
@ -29,6 +31,7 @@ elsif ver[0].to_i == 0 && ver[1].to_i <= 6
|
|||
module Tk
|
||||
module Tile
|
||||
USE_TILE_NAMESPACE = true
|
||||
USE_TTK_NAMESPACE = true
|
||||
TILE_SPEC_VERSION_ID = 5
|
||||
end
|
||||
end
|
||||
|
@ -37,6 +40,7 @@ else
|
|||
module Tk
|
||||
module Tile
|
||||
USE_TILE_NAMESPACE = false
|
||||
USE_TTK_NAMESPACE = true
|
||||
TILE_SPEC_VERSION_ID = 7
|
||||
end
|
||||
end
|
||||
|
@ -61,7 +65,7 @@ module Tk
|
|||
end
|
||||
|
||||
def self.__Import_Tile_Widgets__!
|
||||
Tk.tk_call('namespace', 'import', 'ttk::*')
|
||||
Tk.tk_call('namespace', 'import', '-force', 'ttk::*')
|
||||
end
|
||||
|
||||
def self.load_images(imgdir, pat=TkComm::None)
|
||||
|
|
Loading…
Reference in a new issue