summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@noemail.net>2006-03-29 16:27:53 (GMT)
committerdgp <dgp@noemail.net>2006-03-29 16:27:53 (GMT)
commit982cff666e431380edb9712efa0d4688a8533220 (patch)
treef693116cb742db92eec57320ccfb2e0f7dad078f
parente23827aff997f7b48179df1cf0b62934c2e13468 (diff)
downloadtk-982cff666e431380edb9712efa0d4688a8533220.zip
tk-982cff666e431380edb9712efa0d4688a8533220.tar.gz
tk-982cff666e431380edb9712efa0d4688a8533220.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] FossilOrigin-Name: ab6043d7f9ae732062fe505af3f942279bbd1401
-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"