From c0223b885cb724c64ed47ceefc90b7f883a6b4df Mon Sep 17 00:00:00 2001 From: dkf Date: Fri, 25 Nov 2005 15:58:15 +0000 Subject: Fix bits that (should, and now do) refer to tk::IconList_CurSelection --- library/choosedir.tcl | 6 +++--- library/tclIndex | 2 +- library/unsupported.tcl | 4 ++-- 3 files changed, 6 insertions(+), 6 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]] diff --git a/library/tclIndex b/library/tclIndex index 6b3547d..2550b4e 100644 --- a/library/tclIndex +++ b/library/tclIndex @@ -200,7 +200,7 @@ set auto_index(::tk::TabToWindow) [list source [file join $dir tk.tcl]] set auto_index(::tk::IconList) [list source [file join $dir tkfbox.tcl]] set auto_index(::tk::IconList_Index) [list source [file join $dir tkfbox.tcl]] set auto_index(::tk::IconList_Selection) [list source [file join $dir tkfbox.tcl]] -set auto_index(::tk::IconList_Curselection) [list source [file join $dir tkfbox.tcl]] +set auto_index(::tk::IconList_CurSelection) [list source [file join $dir tkfbox.tcl]] set auto_index(::tk::IconList_DrawSelection) [list source [file join $dir tkfbox.tcl]] set auto_index(::tk::IconList_Get) [list source [file join $dir tkfbox.tcl]] set auto_index(::tk::IconList_Config) [list source [file join $dir tkfbox.tcl]] diff --git a/library/unsupported.tcl b/library/unsupported.tcl index 72171c3..32e0a9e 100644 --- a/library/unsupported.tcl +++ b/library/unsupported.tcl @@ -3,7 +3,7 @@ # Commands provided by Tk without official support. Use them at your # own risk. They may change or go away without notice. # -# RCS: @(#) $Id: unsupported.tcl,v 1.4 2002/07/17 16:51:53 rmax Exp $ +# RCS: @(#) $Id: unsupported.tcl,v 1.5 2005/11/25 15:58:15 dkf Exp $ # # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. @@ -95,7 +95,7 @@ namespace eval ::tk::unsupported { tkIconList_Config ::tk::IconList_Config tkIconList_Create ::tk::IconList_Create tkIconList_CtrlBtn1 ::tk::IconList_CtrlBtn1 - tkIconList_Curselection ::tk::IconList_Curselection + tkIconList_Curselection ::tk::IconList_CurSelection tkIconList_DeleteAll ::tk::IconList_DeleteAll tkIconList_Double1 ::tk::IconList_Double1 tkIconList_DrawSelection ::tk::IconList_DrawSelection -- cgit v0.12