summaryrefslogtreecommitdiffstats
path: root/library/clrpick.tcl
diff options
context:
space:
mode:
authorpatthoyts@users.sourceforge.net <patthoyts>2006-03-17 10:50:09 (GMT)
committerpatthoyts@users.sourceforge.net <patthoyts>2006-03-17 10:50:09 (GMT)
commit89b980627ebb8975a2236beb405a77fc24f91c51 (patch)
tree921509196316de91494787c783f250044e1765ed /library/clrpick.tcl
parent101e6edf091f29ae7b2b8a905b76aeddd4f27903 (diff)
downloadtk-89b980627ebb8975a2236beb405a77fc24f91c51.zip
tk-89b980627ebb8975a2236beb405a77fc24f91c51.tar.gz
tk-89b980627ebb8975a2236beb405a77fc24f91c51.tar.bz2
bug #1451587: avoid using abbreviated sub-commands in
core scripts as this can cause problems with mega-widget libraries like snit.
Diffstat (limited to 'library/clrpick.tcl')
-rw-r--r--library/clrpick.tcl6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/clrpick.tcl b/library/clrpick.tcl
index c154c8b..ac47150 100644
--- a/library/clrpick.tcl
+++ b/library/clrpick.tcl
@@ -3,7 +3,7 @@
# Color selection dialog for platforms that do not support a
# standard color selection dialog.
#
-# RCS: @(#) $Id: clrpick.tcl,v 1.20.2.1 2006/01/25 18:21:41 dgp Exp $
+# RCS: @(#) $Id: clrpick.tcl,v 1.20.2.2 2006/03/17 10:50:11 patthoyts Exp $
#
# Copyright (c) 1996 Sun Microsystems, Inc.
#
@@ -667,7 +667,7 @@ proc ::tk::dialog::color::HandleRGBEntry {w} {
proc ::tk::dialog::color::EnterColorBar {w color} {
upvar ::tk::dialog::color::[winfo name $w] data
- $data($color,sel) itemconfig $data($color,index) -fill red
+ $data($color,sel) itemconfigure $data($color,index) -fill red
}
# mouse leaves enters a color bar
@@ -675,7 +675,7 @@ proc ::tk::dialog::color::EnterColorBar {w color} {
proc ::tk::dialog::color::LeaveColorBar {w color} {
upvar ::tk::dialog::color::[winfo name $w] data
- $data($color,sel) itemconfig $data($color,index) -fill black
+ $data($color,sel) itemconfigure $data($color,index) -fill black
}
# user hits OK button