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)
commitf6ba929ad9452334e5f333c21a081514ec88387c (patch)
tree40cd21e974be96a8dfc98df93348ce5ccdb673d9 /library/clrpick.tcl
parentcbadae84f8e5f6e35f1ffe78bb76e2f425cc36d7 (diff)
downloadtk-f6ba929ad9452334e5f333c21a081514ec88387c.zip
tk-f6ba929ad9452334e5f333c21a081514ec88387c.tar.gz
tk-f6ba929ad9452334e5f333c21a081514ec88387c.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