summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorericm <ericm@noemail.net>2000-07-28 16:41:39 (GMT)
committerericm <ericm@noemail.net>2000-07-28 16:41:39 (GMT)
commit3666c552cd7655658f1f905d7273c20c424fd254 (patch)
treed02152b7dc634afcabb40048231221a29b35ba99 /generic
parent67784e1d7ab4a0a27f32327760025270e8ad3082 (diff)
downloadtk-3666c552cd7655658f1f905d7273c20c424fd254.zip
tk-3666c552cd7655658f1f905d7273c20c424fd254.tar.gz
tk-3666c552cd7655658f1f905d7273c20c424fd254.tar.bz2
* doc/label.n: Added -disabledforeground to list of options [Bug: 6053].
* generic/tkListbox.c: Changed resource class for disabledforeground to "DisabledForeground". FossilOrigin-Name: d57bc1ec6968e5b45206a4934294428217008261
Diffstat (limited to 'generic')
-rw-r--r--generic/tkListbox.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/generic/tkListbox.c b/generic/tkListbox.c
index e37ccb8..d931ad7 100644
--- a/generic/tkListbox.c
+++ b/generic/tkListbox.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkListbox.c,v 1.17 2000/07/28 16:34:54 ericm Exp $
+ * RCS: @(#) $Id: tkListbox.c,v 1.18 2000/07/28 16:41:40 ericm Exp $
*/
#include "tkPort.h"
@@ -229,9 +229,8 @@ static Tk_OptionSpec optionSpecs[] = {
DEF_LISTBOX_CURSOR, -1, Tk_Offset(Listbox, cursor),
TK_OPTION_NULL_OK, 0, 0},
{TK_OPTION_COLOR, "-disabledforeground", "disabledForeground",
- "Foreground",
- DEF_LISTBOX_DISABLED_FG, -1, Tk_Offset(Listbox, dfgColorPtr),
- TK_OPTION_NULL_OK, 0, 0},
+ "DisabledForeground", DEF_LISTBOX_DISABLED_FG, -1,
+ Tk_Offset(Listbox, dfgColorPtr), TK_OPTION_NULL_OK, 0, 0},
{TK_OPTION_BOOLEAN, "-exportselection", "exportSelection",
"ExportSelection", DEF_LISTBOX_EXPORT_SELECTION, -1,
Tk_Offset(Listbox, exportSelection), 0, 0, 0},