summaryrefslogtreecommitdiffstats
path: root/library/tkfbox.tcl
diff options
context:
space:
mode:
authorhobbs <hobbs>2006-07-07 00:38:46 (GMT)
committerhobbs <hobbs>2006-07-07 00:38:46 (GMT)
commit1d24a52d2ec98344b3892a31f2831c9f46731d43 (patch)
tree6ed7e710516026929da25ab920aec6d7e377d995 /library/tkfbox.tcl
parent07ac3208d2529a9d7a8551320632d66a6c6c8ae9 (diff)
downloadtk-1d24a52d2ec98344b3892a31f2831c9f46731d43.zip
tk-1d24a52d2ec98344b3892a31f2831c9f46731d43.tar.gz
tk-1d24a52d2ec98344b3892a31f2831c9f46731d43.tar.bz2
catch scrollbar use of highlightthickness
Diffstat (limited to 'library/tkfbox.tcl')
-rw-r--r--library/tkfbox.tcl6
1 files changed, 3 insertions, 3 deletions
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