summaryrefslogtreecommitdiffstats
path: root/library/palette.tcl
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@noemail.net>2006-03-17 10:50:09 (GMT)
committerpatthoyts <patthoyts@noemail.net>2006-03-17 10:50:09 (GMT)
commit8f5cff9218a8d6c1cc6a8a7844dc273cedbfb1bb (patch)
tree921509196316de91494787c783f250044e1765ed /library/palette.tcl
parent12f0b478d823eb1559f76aa967bdcdb27699b048 (diff)
downloadtk-8f5cff9218a8d6c1cc6a8a7844dc273cedbfb1bb.zip
tk-8f5cff9218a8d6c1cc6a8a7844dc273cedbfb1bb.tar.gz
tk-8f5cff9218a8d6c1cc6a8a7844dc273cedbfb1bb.tar.bz2
bug #1451587: avoid using abbreviated sub-commands in
core scripts as this can cause problems with mega-widget libraries like snit. FossilOrigin-Name: 6afc0fe2bd385caeaa92b8b91dfd29b81ad55568
Diffstat (limited to 'library/palette.tcl')
-rw-r--r--library/palette.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/palette.tcl b/library/palette.tcl
index 05d59e7..c53fad5 100644
--- a/library/palette.tcl
+++ b/library/palette.tcl
@@ -3,7 +3,7 @@
# This file contains procedures that change the color palette used
# by Tk.
#
-# RCS: @(#) $Id: palette.tcl,v 1.8.2.1 2006/01/25 18:21:41 dgp Exp $
+# RCS: @(#) $Id: palette.tcl,v 1.8.2.2 2006/03/17 10:50:11 patthoyts Exp $
#
# Copyright (c) 1995-1997 Sun Microsystems, Inc.
#
@@ -173,7 +173,7 @@ proc ::tk::RecolorTree {w colors} {
set option -[string tolower $dbOption]
set class [string replace $dbOption 0 0 [string toupper \
[string index $dbOption 0]]]
- if {![catch {$w config $option} value]} {
+ if {![catch {$w configure $option} value]} {
# if the option database has a preference for this
# dbOption, then use it, otherwise use the defaults
# for the widget.