summaryrefslogtreecommitdiffstats
path: root/library/ttk/defaults.tcl
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-10-11 16:43:19 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-10-11 16:43:19 (GMT)
commit5938ba79d9c66c1ab892bdf10a6c943ece3173fa (patch)
tree8c4a95c54cc1642b61585ea54b9976e538aaf417 /library/ttk/defaults.tcl
parentb7bf7f89e709996e4f081e26ddf74f0f92a9a1a2 (diff)
downloadtk-5938ba79d9c66c1ab892bdf10a6c943ece3173fa.zip
tk-5938ba79d9c66c1ab892bdf10a6c943ece3173fa.tar.gz
tk-5938ba79d9c66c1ab892bdf10a6c943ece3173fa.tar.bz2
Fix apparent patch error
Diffstat (limited to 'library/ttk/defaults.tcl')
-rw-r--r--library/ttk/defaults.tcl8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/ttk/defaults.tcl b/library/ttk/defaults.tcl
index 90ab379..b85430e 100644
--- a/library/ttk/defaults.tcl
+++ b/library/ttk/defaults.tcl
@@ -19,6 +19,8 @@ namespace eval ttk::theme::default {
-disabledindicator "#a3a3a3"
-altindicator "#9fbdd8"
-disabledaltindicator "#c0c0c0"
+ }
+
# On X11, if the user specifies their own choice of colour scheme via X resources,
# then set the colour palette based on the user's choice.
if {[tk windowingsystem] eq "x11"} {
@@ -65,8 +67,6 @@ namespace eval ttk::theme::default {
disabledForeground {-disabledfg -disabledindicator}
}
}
-
- }
# ttk::theme::default::reconfigureDefaultTheme --
# This procedure contains the definition of the 'default' theme itself.
# The theme definition is in a procedure, so it can be re-called
@@ -201,8 +201,8 @@ proc ttk::theme::default::reconfigureDefaultTheme {} {
ttk::style map Toolbutton -relief \
[list disabled flat selected sunken pressed sunken active raised]
ttk::style map Toolbutton -background \
-
-ttk::theme::default::reconfigureDefaultTheme
[list pressed $colors(-darker) active $colors(-activebg)]
}
}
+
+ttk::theme::default::reconfigureDefaultTheme