summaryrefslogtreecommitdiffstats
path: root/library/choosedir.tcl
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-20 12:16:36 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-20 12:16:36 (GMT)
commit8077dd948e9d7c758be18837a1cc637007e50084 (patch)
treeb6b2163dafeff1c9a7328e67b75329e8a9f4ff83 /library/choosedir.tcl
parent95c5b39b2e335c0fc08a25281ad9097a29aee1ae (diff)
parentf4876885b53d6ed34fb1c3577e0c2d238a871953 (diff)
downloadtk-8077dd948e9d7c758be18837a1cc637007e50084.zip
tk-8077dd948e9d7c758be18837a1cc637007e50084.tar.gz
tk-8077dd948e9d7c758be18837a1cc637007e50084.tar.bz2
Use vroot size in stead of screen size for clipping window coordinates in ::tk::PlaceWindow.
Use ::tk::PlaceWindow in dialog.tcl, in stead of dumplicating the code there.
Diffstat (limited to 'library/choosedir.tcl')
-rw-r--r--library/choosedir.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/choosedir.tcl b/library/choosedir.tcl
index b9c2aa8..0fd3f01 100644
--- a/library/choosedir.tcl
+++ b/library/choosedir.tcl
@@ -79,7 +79,7 @@ proc ::tk::dialog::file::chooseDir:: {args} {
# Withdraw the window, then update all the geometry information
# so we know how big it wants to be, then center the window in the
- # display and de-iconify it.
+ # display (Motif style) and de-iconify it.
::tk::PlaceWindow $w widget $data(-parent)
wm title $w $data(-title)