summaryrefslogtreecommitdiffstats
path: root/library/choosedir.tcl
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-20 12:23:56 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-20 12:23:56 (GMT)
commit0b0a00eec7fa1ecd6077b0cc579699edbaadfae5 (patch)
treeab880bbfe157359df231d47bd8a411c4f405cc03 /library/choosedir.tcl
parent52ea2579ad5c7f7be961406b592293b18c1715d0 (diff)
parentb4f7a9e2ccc9aecfbac6785e383753ec769e8745 (diff)
downloadtk-0b0a00eec7fa1ecd6077b0cc579699edbaadfae5.zip
tk-0b0a00eec7fa1ecd6077b0cc579699edbaadfae5.tar.gz
tk-0b0a00eec7fa1ecd6077b0cc579699edbaadfae5.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 8f3f75f..00dca9d 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)