summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhobbs <hobbs>2006-07-07 00:39:42 (GMT)
committerhobbs <hobbs>2006-07-07 00:39:42 (GMT)
commit28fcbab330752d2af110e2e46c3be6c1da51cfeb (patch)
tree1727db4e0761160c2a1dac72ee656521981f82f5
parentac0ac5ec7d7213c10d5318183fdd1ed073df12b0 (diff)
downloadtk-28fcbab330752d2af110e2e46c3be6c1da51cfeb.zip
tk-28fcbab330752d2af110e2e46c3be6c1da51cfeb.tar.gz
tk-28fcbab330752d2af110e2e46c3be6c1da51cfeb.tar.bz2
catch scrollbar use of highlightthickness
-rw-r--r--ChangeLog4
-rw-r--r--library/tkfbox.tcl6
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index a193a94..e62c232 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-07-06 Jeff Hobbs <jeffh@ActiveState.com>
+
+ * library/tkfbox.tcl: catch scrollbar use of highlightthickness
+
2006-06-21 Jeff Hobbs <jeffh@ActiveState.com>
* library/bgerror.tcl (::tk::dialog::error::bgerror): remove a
diff --git a/library/tkfbox.tcl b/library/tkfbox.tcl
index 07e214b..60c8ab2 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.57 2006/04/10 21:33:45 dkf Exp $
+# RCS: @(#) $Id: tkfbox.tcl,v 1.58 2006/07/07 00:39:42 hobbs Exp $
#
# Copyright (c) 1994-1998 Sun Microsystems, Inc.
#
@@ -220,8 +220,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