public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: "Martin M. Hunt" <hunt@redhat.com>
To: "Insight list (E-mail)" <insight@sources.redhat.com>
Subject: patch: fix Windows checkbutton colors
Date: Wed, 02 Jul 2003 22:22:00 -0000	[thread overview]
Message-ID: <1057184560.2227.2.camel@dragon> (raw)

[-- 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)
+  }
 }

                 reply	other threads:[~2003-07-02 22:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1057184560.2227.2.camel@dragon \
    --to=hunt@redhat.com \
    --cc=insight@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).