summaryrefslogtreecommitdiffstats
path: root/library/scrlbar.tcl
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2006-03-17 11:13:13 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2006-03-17 11:13:13 (GMT)
commitf04aa73019b758db9a04fc8a5a8cde258e1c3535 (patch)
tree40cd21e974be96a8dfc98df93348ce5ccdb673d9 /library/scrlbar.tcl
parent58c3d258aa0068b5b91068e0ecbdb648e279f362 (diff)
downloadtk-f04aa73019b758db9a04fc8a5a8cde258e1c3535.zip
tk-f04aa73019b758db9a04fc8a5a8cde258e1c3535.tar.gz
tk-f04aa73019b758db9a04fc8a5a8cde258e1c3535.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/scrlbar.tcl')
-rw-r--r--library/scrlbar.tcl6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/scrlbar.tcl b/library/scrlbar.tcl
index 57275f2..ec14473 100644
--- a/library/scrlbar.tcl
+++ b/library/scrlbar.tcl
@@ -3,7 +3,7 @@
# This file defines the default bindings for Tk scrollbar widgets.
# It also provides procedures that help in implementing the bindings.
#
-# RCS: @(#) $Id: scrlbar.tcl,v 1.12 2005/09/10 14:53:20 das Exp $
+# RCS: @(#) $Id: scrlbar.tcl,v 1.13 2006/03/17 11:13:15 patthoyts Exp $
#
# Copyright (c) 1994 The Regents of the University of California.
# Copyright (c) 1994-1996 Sun Microsystems, Inc.
@@ -22,7 +22,7 @@ if {[tk windowingsystem] eq "x11"} {
bind Scrollbar <Enter> {
if {$tk_strictMotif} {
set tk::Priv(activeBg) [%W cget -activebackground]
- %W config -activebackground [%W cget -background]
+ %W configure -activebackground [%W cget -background]
}
%W activate [%W identify %x %y]
}
@@ -37,7 +37,7 @@ bind Scrollbar <Motion> {
bind Scrollbar <Leave> {
if {$tk_strictMotif && [info exists tk::Priv(activeBg)]} {
- %W config -activebackground $tk::Priv(activeBg)
+ %W configure -activebackground $tk::Priv(activeBg)
}
%W activate {}
}