diff options
author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-24 13:13:12 +0000 |
---|---|---|
committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-24 13:13:12 +0000 |
commit | c94a13f8e34a4cf49b9a28a619d0e465cbbb9fcc (patch) | |
tree | 50b50a277e3d1b054ad849f9d03198311484c452 /ext/tk/sample/tkextlib | |
parent | 98a8fcf8c9e7f0d63c5b430a4e7f92da359c150c (diff) | |
download | ruby-c94a13f8e34a4cf49b9a28a619d0e465cbbb9fcc.tar.gz ruby-c94a13f8e34a4cf49b9a28a619d0e465cbbb9fcc.tar.xz ruby-c94a13f8e34a4cf49b9a28a619d0e465cbbb9fcc.zip |
* ext/tk/sample/tkextlib/bwidget/tree.rb: bug fix
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/sample/tkextlib')
-rw-r--r-- | ext/tk/sample/tkextlib/bwidget/tree.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/tk/sample/tkextlib/bwidget/tree.rb b/ext/tk/sample/tkextlib/bwidget/tree.rb index a355b6759..cbce80fda 100644 --- a/ext/tk/sample/tkextlib/bwidget/tree.rb +++ b/ext/tk/sample/tkextlib/bwidget/tree.rb @@ -107,7 +107,7 @@ module DemoTree /\d+x\d+([+-]{1,2}\d+)([+-]{1,2}\d+)/ global_w = ($1 || 0).to_i global_h = ($2 || 0).to_i - BWidget.place(@@top, 0, 0, :at, + Tk::BWidget.place(@@top, 0, 0, :at, global_w - Tk.root.winfo_screenwidth, global_h) end |