summaryrefslogtreecommitdiffstats
path: root/library/palette.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/palette.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/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 6e380d8..323d372 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.10 2006/01/25 18:22:04 dgp Exp $
+# RCS: @(#) $Id: palette.tcl,v 1.11 2006/03/17 11:13:15 patthoyts Exp $
#
# Copyright (c) 1995-1997 Sun Microsystems, Inc.
#
@@ -171,7 +171,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.