summaryrefslogtreecommitdiff
path: root/ext/tk
diff options
context:
space:
mode:
authorocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-04-08 15:08:45 +0000
committerocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-04-08 15:08:45 +0000
commitb472e96aac1dda320bb8703c194c97cdc838e00a (patch)
treeb2775141ae25f5418486316b54325f124c821450 /ext/tk
parent67512aefc0112da32d088777ad5f40d7f74e8967 (diff)
* ext/tk/sample/tkextlib/treectrl/imovie.rb: fixed typo. (click on clip title)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk')
-rw-r--r--ext/tk/ChangeLog.tkextlib4
-rw-r--r--ext/tk/sample/tkextlib/treectrl/imovie.rb2
2 files changed, 5 insertions, 1 deletions
diff --git a/ext/tk/ChangeLog.tkextlib b/ext/tk/ChangeLog.tkextlib
index e943082ab7..6a9332f17e 100644
--- a/ext/tk/ChangeLog.tkextlib
+++ b/ext/tk/ChangeLog.tkextlib
@@ -1,3 +1,7 @@
+2005-04-09 ocean <ocean@ruby-lang.org>
+
+ * sample/tkextlib/treectrl/imovie.rb: fixed typo. (click on clip title)
+
2005-04-08 ocean <ocean@ruby-lang.org>
* sample/tkextlib/treectrl/random.rb: fixed typo. (drop node outside of
diff --git a/ext/tk/sample/tkextlib/treectrl/imovie.rb b/ext/tk/sample/tkextlib/treectrl/imovie.rb
index 45d30060df..d61bf9a7c3 100644
--- a/ext/tk/sample/tkextlib/treectrl/imovie.rb
+++ b/ext/tk/sample/tkextlib/treectrl/imovie.rb
@@ -116,7 +116,7 @@ def iMovieButton1(w, x, y)
ent.place(:y=>y1 - 1)
end
ent.selection_clear
- x1, y1, x2, y2 = t.item_bbox(i)
+ x1, y1, x2, y2 = w.item_bbox(i)
ent.place(:x=>x1 + 1, :width=>x2 - x1 - 5)
puts "@#{x - (x1 + 1)}"
# ent.icursor = ent.index("@#{x - (x1 + 1)}")