summaryrefslogtreecommitdiffstats
path: root/library/choosedir.tcl
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2012-04-20 12:23:56 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2012-04-20 12:23:56 (GMT)
commit0c5e6f8db418971500b76dd0a039034f42d866ea (patch)
treeab880bbfe157359df231d47bd8a411c4f405cc03 /library/choosedir.tcl
parentc1a2c8809055f8f3b2e16849ac73db23ed8dd693 (diff)
parent3e00862b3df07806b0b499711a83b23f88fcafbc (diff)
downloadtk-0c5e6f8db418971500b76dd0a039034f42d866ea.zip
tk-0c5e6f8db418971500b76dd0a039034f42d866ea.tar.gz
tk-0c5e6f8db418971500b76dd0a039034f42d866ea.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. FossilOrigin-Name: 9fc800bf361ec4d21c45bf65824dc5f8aa5cb02d
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)