This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
patch: fix Windows checkbutton colors
- From: "Martin M. Hunt" <hunt at redhat dot com>
- To: "Insight list (E-mail)" <insight at sources dot redhat dot com>
- Date: 02 Jul 2003 15:22:40 -0700
- Subject: patch: fix Windows checkbutton colors
- Organization: Red Hat Inc.
Sorry it took me so long to get around to this. This should fix the
checkbutton color problem.
Martin
2003-07-02 Martin Hunt <hunt@redhat.com>
* library/prefs.tcl (pref_set_option_db): Only
set checkbutton select color for Unix. Fixes Windows
checkbutton problem.
Index: library/prefs.tcl
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/prefs.tcl,v
retrieving revision 1.25
diff -u -r1.25 prefs.tcl
--- library/prefs.tcl 13 Jun 2003 19:30:49 -0000 1.25
+++ library/prefs.tcl 2 Jul 2003 22:18:53 -0000
@@ -703,5 +703,7 @@
# Change the default select color for checkbuttons, etc to match
# selectBackground.
- option add *selectColor $Colors(sbg)
+ if {$::tcl_platform(platform) == "unix"} {
+ option add *selectColor $Colors(sbg)
+ }
}