summaryrefslogtreecommitdiffstats
path: root/ext/tk/sample/tkextlib/ICONS
diff options
context:
space:
mode:
authornagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-07-15 01:18:57 +0000
committernagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-07-15 01:18:57 +0000
commit4b90fcc22fba45704d6875ea657ff785416fcc89 (patch)
tree537e86474ae310bdbc357b331a580cd42583a745 /ext/tk/sample/tkextlib/ICONS
parentb2b23fb1cdb54d5a9141867947b2ca77bf3730a3 (diff)
* ext/tk/, ext/tcltklib/: bug fix
* ext/tk/lib/tk.rb: better operation for SIGINT when processing callbacks. * ext/tk/lib/tk/msgcat.rb: ditto. * ext/tk/lib/tk/variable.rb: ditto. * ext/tk/lib/tk/timer.rb: ditto. * ext/tk/lib/tk/validation.rb: add Tk::ValidateConfigure.__def_validcmd() to define validatecommand methods easier * ext/tk/lib/tk.rb (_genobj_for_tkwidget): support autoload Tk ext classes * ext/tk/lib/tk/canvas.rb and so on: remove the parent widget type check for items (e.g. canvas items; depends on the class) to avoid some troubles on Tk extension widget class definition. * ext/tk/lib/tkextlib/: add Iwidget and TkTable extension support * ext/tk/sample/tkextlib/: add samples of Iwidget and TkTable git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/sample/tkextlib/ICONS')
-rw-r--r--ext/tk/sample/tkextlib/ICONS/LICENSE.orig2
-rw-r--r--ext/tk/sample/tkextlib/ICONS/viewIcons.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/tk/sample/tkextlib/ICONS/LICENSE.orig b/ext/tk/sample/tkextlib/ICONS/LICENSE.orig
index 1a03ced2d..71e359559 100644
--- a/ext/tk/sample/tkextlib/ICONS/LICENSE.orig
+++ b/ext/tk/sample/tkextlib/ICONS/LICENSE.orig
@@ -2,7 +2,7 @@
#########################################################################
### The following text is the original file of the Tcl/Tk extension. ###
### Icon data files ( those are 'tkIcons', 'tkIcons-sample.kde', and ###
- ### 'tkIcons.kde' ) are refered from the source archive of ICONS ###
+ ### 'tkIcons.kde' ) are quoted from the source archive of ICONS ###
### extension. As the following document describes, those icon images ###
### are not applied the license. ###
#########################################################################
diff --git a/ext/tk/sample/tkextlib/ICONS/viewIcons.rb b/ext/tk/sample/tkextlib/ICONS/viewIcons.rb
index 84b3d0f63..fa8741f41 100644
--- a/ext/tk/sample/tkextlib/ICONS/viewIcons.rb
+++ b/ext/tk/sample/tkextlib/ICONS/viewIcons.rb
@@ -228,7 +228,7 @@ class ViewIcons
name = @icon_name[item]
data_width = 60
- cmd = "#{name} = TkPhotoImage.new(:date=><<'EOD')\n"
+ cmd = "#{name} = TkPhotoImage.new(:data=><<'EOD')\n"
icon_data = Tk::ICONS.query(name, :file=>@library.value, :items=>'d')[0][0]