diff options
author | dgp@users.sourceforge.net <dgp> | 2007-05-16 18:10:34 (GMT) |
---|---|---|
committer | dgp@users.sourceforge.net <dgp> | 2007-05-16 18:10:34 (GMT) |
commit | f9e3d7c17ec70450e4f99c9487d28d64e2f15cf1 (patch) | |
tree | 064a406739ab677cf5bcb77107f0e569b8f6a0fe /library/choosedir.tcl | |
parent | f6fab112b7c4873b6170ed066528f70f2f7edd1b (diff) | |
download | tk-f9e3d7c17ec70450e4f99c9487d28d64e2f15cf1.zip tk-f9e3d7c17ec70450e4f99c9487d28d64e2f15cf1.tar.gz tk-f9e3d7c17ec70450e4f99c9487d28d64e2f15cf1.tar.bz2 |
* library/choosedir.tcl: Removed uses of obsolete {expand}
* library/comdlg.tcl: syntax; replaced with the now
* library/tk.tcl: approved {*}. [Bug 1710633]
* tests/canvImg.test:
* tests/imgPhoto.test:
Diffstat (limited to 'library/choosedir.tcl')
-rw-r--r-- | library/choosedir.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/choosedir.tcl b/library/choosedir.tcl index d5165f6..35cb4e8 100644 --- a/library/choosedir.tcl +++ b/library/choosedir.tcl @@ -5,7 +5,7 @@ # Copyright (c) 1998-2000 by Scriptics Corporation. # All rights reserved. # -# RCS: @(#) $Id: choosedir.tcl,v 1.19 2006/01/25 18:22:04 dgp Exp $ +# RCS: @(#) $Id: choosedir.tcl,v 1.20 2007/05/16 18:10:35 dgp Exp $ # Make sure the tk::dialog namespace, in which all dialogs should live, exists namespace eval ::tk::dialog {} @@ -212,7 +212,7 @@ proc ::tk::dialog::file::chooseDir::OkCmd {w} { if {$text eq ""} { return } - set text [file join {expand}[file split [string trim $text]]] + set text [file join {*}[file split [string trim $text]]] if {![file exists $text] || ![file isdirectory $text]} { # Entry contains an invalid directory. If it's the same as the # last time they came through here, reset the saved value and end |