* patch: fix Windows checkbutton colors
@ 2003-07-02 22:22 Martin M. Hunt
0 siblings, 0 replies; only message in thread
From: Martin M. Hunt @ 2003-07-02 22:22 UTC (permalink / raw)
To: Insight list (E-mail)
[-- Attachment #1: Type: text/plain, Size: 299 bytes --]
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.
[-- Attachment #2: p --]
[-- Type: text/x-patch, Size: 549 bytes --]
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)
+ }
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-07-02 22:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-02 22:22 patch: fix Windows checkbutton colors Martin M. Hunt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).