summaryrefslogtreecommitdiffstats
path: root/library/scale.tcl
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2006-03-17 10:50:09 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2006-03-17 10:50:09 (GMT)
commit61b0fcc820634ac1e3f1f3e27d25bba45f404085 (patch)
tree921509196316de91494787c783f250044e1765ed /library/scale.tcl
parent6f349e302c311dd1f154a6aca76dda3e1909f416 (diff)
downloadtk-61b0fcc820634ac1e3f1f3e27d25bba45f404085.zip
tk-61b0fcc820634ac1e3f1f3e27d25bba45f404085.tar.gz
tk-61b0fcc820634ac1e3f1f3e27d25bba45f404085.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/scale.tcl')
-rw-r--r--library/scale.tcl6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/scale.tcl b/library/scale.tcl
index 54827f9..4cb0a3f 100644
--- a/library/scale.tcl
+++ b/library/scale.tcl
@@ -3,7 +3,7 @@
# This file defines the default bindings for Tk scale widgets and provides
# procedures that help in implementing the bindings.
#
-# RCS: @(#) $Id: scale.tcl,v 1.9.2.4 2006/01/25 18:21:41 dgp Exp $
+# RCS: @(#) $Id: scale.tcl,v 1.9.2.5 2006/03/17 10:50:11 patthoyts Exp $
#
# Copyright (c) 1994 The Regents of the University of California.
# Copyright (c) 1994-1995 Sun Microsystems, Inc.
@@ -21,7 +21,7 @@
bind Scale <Enter> {
if {$tk_strictMotif} {
set tk::Priv(activeBg) [%W cget -activebackground]
- %W config -activebackground [%W cget -background]
+ %W configure -activebackground [%W cget -background]
}
tk::ScaleActivate %W %x %y
}
@@ -30,7 +30,7 @@ bind Scale <Motion> {
}
bind Scale <Leave> {
if {$tk_strictMotif} {
- %W config -activebackground $tk::Priv(activeBg)
+ %W configure -activebackground $tk::Priv(activeBg)
}
if {[%W cget -state] eq "active"} {
%W configure -state normal