diff options
author | patthoyts <patthoyts@users.sourceforge.net> | 2006-03-17 10:50:09 (GMT) |
---|---|---|
committer | patthoyts <patthoyts@users.sourceforge.net> | 2006-03-17 10:50:09 (GMT) |
commit | 31fda43dcb996ed7bc8fe7e7cf89f88a34ce364e (patch) | |
tree | 921509196316de91494787c783f250044e1765ed /library/scrlbar.tcl | |
parent | 735dc07bf3323de7bc10eb805b05d96e19de5e54 (diff) | |
download | tk-31fda43dcb996ed7bc8fe7e7cf89f88a34ce364e.zip tk-31fda43dcb996ed7bc8fe7e7cf89f88a34ce364e.tar.gz tk-31fda43dcb996ed7bc8fe7e7cf89f88a34ce364e.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.tcl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/scrlbar.tcl b/library/scrlbar.tcl index 516fb38..bec329d 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.10.2.2 2006/01/25 18:21:41 dgp Exp $ +# RCS: @(#) $Id: scrlbar.tcl,v 1.10.2.3 2006/03/17 10:50:11 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 {} } |