summaryrefslogtreecommitdiffstats
path: root/library/choosedir.tcl
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-20 12:27:15 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-20 12:27:15 (GMT)
commit4c59c50538a9f6a2af4ee45f406c0e6e6d47f5c6 (patch)
tree67282c401e49141494e4c57d279601278e19b21c /library/choosedir.tcl
parentb8cbd876377862fd90f1909609237d79f620214e (diff)
parent0b0a00eec7fa1ecd6077b0cc579699edbaadfae5 (diff)
downloadtk-4c59c50538a9f6a2af4ee45f406c0e6e6d47f5c6.zip
tk-4c59c50538a9f6a2af4ee45f406c0e6e6d47f5c6.tar.gz
tk-4c59c50538a9f6a2af4ee45f406c0e6e6d47f5c6.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 8c87b9e..62e3165 100644
--- a/library/choosedir.tcl
+++ b/library/choosedir.tcl
@@ -89,7 +89,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)