* library/prefs.tcl (pref_set_option_db): On Windows, fix
highlighting of buttons. On Unix, fix highlighting of
menus.
+2003-07-29 Martin Hunt <hunt@redhat.com>
+
+ * library/prefs.tcl (pref_set_option_db): On Windows, fix
+ highlighting of buttons. On Unix, fix highlighting of
+ menus.
+
+2003-07-10 Martin Hunt <hunt@redhat.com>
+
+ * library/prefs.tcl (pref_set_option_db): Only set
+ activeBackground for Unix.
+
2003-07-02 Martin Hunt <hunt@redhat.com>
* library/prefs.tcl (pref_set_option_db): Only
option add *highlightBackground $Colors(bg)
option add *selectBackground $Colors(sbg)
- option add *activeBackground $Colors(sbg)
+
+ if {$::tcl_platform(platform) == "unix"} {
+ option add *activeBackground $Colors(sbg)
+ }
+
option add *selectForeground $Colors(sfg)
+ option add *Menu*activeForeground $Colors(sfg)
+
if {[info exists Colors(prelight)]} {
option add *Button*activeBackground $Colors(prelight)
}