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 | ee0460d5a1752fd14dde13a8c275763ab3474492 (patch) | |
tree | ebfd50a16b48ded01b10bc4a28e5e5b224138c1f | |
parent | 06c1a64ebb88474da466caae1ddfa0e72e9da284 (diff) | |
download | ruby-ee0460d5a1752fd14dde13a8c275763ab3474492.tar.gz |
* ext/tk/sample/tkextlib/treectrl/outlook-newgrounp.rb: image had disappered when
node was selected.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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 9a84fcf851..b6aaa75bd6 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 6aec944ae9..d7e7f7e004 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, |