summaryrefslogtreecommitdiffstats
path: root/library/clrpick.tcl
diff options
context:
space:
mode:
authorpatthoyts@users.sourceforge.net <patthoyts>2006-03-17 11:13:13 (GMT)
committerpatthoyts@users.sourceforge.net <patthoyts>2006-03-17 11:13:13 (GMT)
commit20e3f24d4a0c7922eb23d6b6d9211991e5326630 (patch)
tree40cd21e974be96a8dfc98df93348ce5ccdb673d9 /library/clrpick.tcl
parent9368b9887d69e72d08a9979befe4ec963a21bbd3 (diff)
downloadtk-20e3f24d4a0c7922eb23d6b6d9211991e5326630.zip
tk-20e3f24d4a0c7922eb23d6b6d9211991e5326630.tar.gz
tk-20e3f24d4a0c7922eb23d6b6d9211991e5326630.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