1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
ocean 2005-04-08 12:44:19 +00:00
parent 06c1a64ebb
commit ee0460d5a1
2 changed files with 12 additions and 11 deletions

View file

@ -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.

View file

@ -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,