This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

patch: fix Windows checkbutton colors


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]