summaryrefslogtreecommitdiffstats
path: root/library/clrpick.tcl
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2006-03-17 11:13:13 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2006-03-17 11:13:13 (GMT)
commitf04aa73019b758db9a04fc8a5a8cde258e1c3535 (patch)
tree40cd21e974be96a8dfc98df93348ce5ccdb673d9 /library/clrpick.tcl
parent58c3d258aa0068b5b91068e0ecbdb648e279f362 (diff)
downloadtk-f04aa73019b758db9a04fc8a5a8cde258e1c3535.zip
tk-f04aa73019b758db9a04fc8a5a8cde258e1c3535.tar.gz
tk-f04aa73019b758db9a04fc8a5a8cde258e1c3535.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 ecc682c..216cdb8 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.21 2004/08/05 10:04:36 dkf Exp $
+# RCS: @(#) $Id: clrpick.tcl,v 1.22 2006/03/17 11:13:15 patthoyts Exp $
#
# Copyright (c) 1996 Sun Microsystems, Inc.
#
@@ -666,7 +666,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
@@ -674,7 +674,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