From 4991daebd930c8ef877ae5f3508cfa6bd9161193 Mon Sep 17 00:00:00 2001 From: hobbs Date: Fri, 7 Jul 2006 00:38:46 +0000 Subject: catch scrollbar use of highlightthickness --- ChangeLog | 4 ++++ library/tkfbox.tcl | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1efc115..adfb9d9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-07-06 Jeff Hobbs + + * library/tkfbox.tcl: catch scrollbar use of highlightthickness + 2006-06-21 Jeff Hobbs * library/bgerror.tcl (::tk::dialog::error::bgerror): remove a diff --git a/library/tkfbox.tcl b/library/tkfbox.tcl index a5799fa..ec37d55 100644 --- a/library/tkfbox.tcl +++ b/library/tkfbox.tcl @@ -11,7 +11,7 @@ # files by clicking on the file icons or by entering a filename # in the "Filename:" entry. # -# RCS: @(#) $Id: tkfbox.tcl,v 1.38.2.11 2006/03/17 10:50:11 patthoyts Exp $ +# RCS: @(#) $Id: tkfbox.tcl,v 1.38.2.12 2006/07/07 00:38:47 hobbs Exp $ # # Copyright (c) 1994-1998 Sun Microsystems, Inc. # @@ -217,8 +217,8 @@ proc ::tk::IconList_Create {w} { upvar ::tk::$w data frame $w - set data(sbar) [scrollbar $w.sbar -orient horizontal \ - -highlightthickness 0 -takefocus 0] + set data(sbar) [scrollbar $w.sbar -orient horizontal -takefocus 0] + catch {$data(sbar) configure -highlightthickness 0} set data(canvas) [canvas $w.canvas -bd 2 -relief sunken \ -width 400 -height 120 -takefocus 1] pack $data(sbar) -side bottom -fill x -padx 2 -- cgit v0.12