diff options
author | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-04-08 12:44:19 +0000 |
---|---|---|
committer | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-04-08 12:44:19 +0000 |
commit | 529d53731e56e087bafb5034758a597dfc77d3f8 (patch) | |
tree | 3aa0bf2b052e0606d6a44db64dd5349ce39d0a81 /ext | |
parent | 7c899cde2bab2b76277005dcc2f4330f512f3883 (diff) | |
download | ruby-529d53731e56e087bafb5034758a597dfc77d3f8.tar.gz ruby-529d53731e56e087bafb5034758a597dfc77d3f8.tar.xz ruby-529d53731e56e087bafb5034758a597dfc77d3f8.zip |
* ext/tk/sample/tkextlib/treectrl/outlook-newgrounp.rb: image had disappered when
node was selected.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/tk/ChangeLog.tkextlib | 17 | ||||
-rw-r--r-- | ext/tk/sample/tkextlib/treectrl/outlook-newgroup.rb | 6 |
2 files changed, 12 insertions, 11 deletions
diff --git a/ext/tk/ChangeLog.tkextlib b/ext/tk/ChangeLog.tkextlib index 9a84fcf85..b6aaa75bd 100644 --- a/ext/tk/ChangeLog.tkextlib +++ b/ext/tk/ChangeLog.tkextlib @@ -1,17 +1,18 @@ 2005-04-08 ocean <ocean@ruby-lang.org> - * sample/tkextlib/treectrl/outlook-newgroup.rb: tk::treectrl uses 'afterId' - not 'afterID'. + * sample/tkextlib/treectrl/outlook-newgrounp.rb: image had disappered when + node was selected. - * sample/tkextlib/treectrl/random.rb: ditto. +2005-04-08 ocean <ocean@ruby-lang.org> - * sample/tkextlib/treectrl/outlook-newgroup.rb: item_firstchild can - return empty string. (drag onto leaf node) + * sample/tkextlib/treectrl/{random,outlook-newgroup}.rb: + tk::treectrl uses 'afterId' not 'afterID'. - * sample/tkextlib/treectrl/random.rb: ditto. + * sample/tkextlib/treectrl/{random,outlook-newgroup}.rb: + item_firstchild can return empty string. (drop node to leaf node) - * sample/tkextlib/treectrl/random.rb: comparation failed at Enumerable#find - because of type mismatch. (ex: "10" != 10) + * sample/tkextlib/treectrl/random.rb: Enumerable#find didn't work properly + because tried to compare String with Integer. (drag node and leave widget) * sample/tkextlib/treectrl/random.rb: and some fixes. diff --git a/ext/tk/sample/tkextlib/treectrl/outlook-newgroup.rb b/ext/tk/sample/tkextlib/treectrl/outlook-newgroup.rb index 6aec944ae..d7e7f7e00 100644 --- a/ext/tk/sample/tkextlib/treectrl/outlook-newgroup.rb +++ b/ext/tk/sample/tkextlib/treectrl/outlook-newgroup.rb @@ -39,12 +39,12 @@ def demoOutlookNewsgroup(t) t.element_create('elemImg', :image, :image=>[ - @images['outlook-read-2Sel'], + @sel_images['outlook-read-2'], ['selected', 'read', 'unread', '!open'], @images['outlook-read-2'], ['read', 'unread', '!open'], - @images['outlook-readSel'], ['selected', 'read'], + @sel_images['outlook-read'], ['selected', 'read'], @images['outlook-read'], ['read'], - @images['outlook-unreadSel'], ['selected'], + @sel_images['outlook-unread'], ['selected'], @images['outlook-unread'], [] ]) t.element_create('elemTxt', :text, :lines=>1, |