diff options
author | dkf <dkf@noemail.net> | 2005-11-25 15:58:14 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2005-11-25 15:58:14 (GMT) |
commit | a6410911c2adba07468ac161c818eeeaeca91d82 (patch) | |
tree | 94e28f5e7c4bfec4e5fc385c63c76afcf8b4c39a /library/choosedir.tcl | |
parent | b2d261d0fad8592df0cffb4fb4d24706a5100eb1 (diff) | |
download | tk-a6410911c2adba07468ac161c818eeeaeca91d82.zip tk-a6410911c2adba07468ac161c818eeeaeca91d82.tar.gz tk-a6410911c2adba07468ac161c818eeeaeca91d82.tar.bz2 |
Fix bits that (should, and now do) refer to tk::IconList_CurSelection
FossilOrigin-Name: edc9d84743a3f078693245a1b05bf234e1960c55
Diffstat (limited to 'library/choosedir.tcl')
-rw-r--r-- | library/choosedir.tcl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/choosedir.tcl b/library/choosedir.tcl index 1a054bd..8403d97 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.17 2005/07/25 09:06:01 dkf Exp $ +# RCS: @(#) $Id: choosedir.tcl,v 1.18 2005/11/25 15:58:15 dkf Exp $ # Make sure the tk::dialog namespace, in which all dialogs should live, exists namespace eval ::tk::dialog {} @@ -201,7 +201,7 @@ proc ::tk::dialog::file::chooseDir::OkCmd {w} { # 4b. If the value is different from the current directory, change to # that directory. - set selection [tk::IconList_Curselection $data(icons)] + set selection [tk::IconList_CurSelection $data(icons)] if {[llength $selection] != 0} { set iconText [tk::IconList_Get $data(icons) [lindex $selection 0]] set iconText [file join $data(selectPath) $iconText] @@ -239,7 +239,7 @@ proc ::tk::dialog::file::chooseDir::OkCmd {w} { proc ::tk::dialog::file::chooseDir::DblClick {w} { upvar ::tk::dialog::file::[winfo name $w] data - set selection [tk::IconList_Curselection $data(icons)] + set selection [tk::IconList_CurSelection $data(icons)] if {[llength $selection] != 0} { set filenameFragment \ [tk::IconList_Get $data(icons) [lindex $selection 0]] |