summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2006-03-29 16:27:53 (GMT)
committerdgp <dgp@users.sourceforge.net>2006-03-29 16:27:53 (GMT)
commit90b12f3425f3402f9b53a9b0980beef8c9852eaf (patch)
treef693116cb742db92eec57320ccfb2e0f7dad078f
parent9daa69d043816ae24b0de03552135d4cbed3b061 (diff)
downloadtk-90b12f3425f3402f9b53a9b0980beef8c9852eaf.zip
tk-90b12f3425f3402f9b53a9b0980beef8c9852eaf.tar.gz
tk-90b12f3425f3402f9b53a9b0980beef8c9852eaf.tar.bz2
* unix/tkUnixDefault.h: Changed "Black" to "#000000" and "White" to
"#ffffff" to work around the (broken?) X servers that do not accept those color names. [Bug 917433]
-rw-r--r--ChangeLog6
-rw-r--r--unix/tkUnixDefault.h6
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index f6c23a2..d3f4a2f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-03-29 Don Porter <dgp@users.sourceforge.net>
+
+ * unix/tkUnixDefault.h: Changed "Black" to "#000000" and "White" to
+ "#ffffff" to work around the (broken?) X servers that do not accept
+ those color names. [Bug 917433]
+
2006-03-28 Jeff Hobbs <jeffh@ActiveState.com>
* generic/tkWindow.c (CreateTopLevelWindow): use thread exit
diff --git a/unix/tkUnixDefault.h b/unix/tkUnixDefault.h
index f8af12d..908e060 100644
--- a/unix/tkUnixDefault.h
+++ b/unix/tkUnixDefault.h
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixDefault.h,v 1.16 2002/06/21 23:09:54 hobbs Exp $
+ * RCS: @(#) $Id: tkUnixDefault.h,v 1.16.2.1 2006/03/29 16:27:53 dgp Exp $
*/
#ifndef _TKUNIXDEFAULT
@@ -26,8 +26,8 @@
* DISABLED - Foreground color when widget is disabled.
*/
-#define BLACK "Black"
-#define WHITE "White"
+#define BLACK "#000000"
+#define WHITE "#ffffff"
#define NORMAL_BG "#d9d9d9"
#define ACTIVE_BG "#ececec"