summaryrefslogtreecommitdiffstats
path: root/generic/tkListbox.c
diff options
context:
space:
mode:
authorericm <ericm>2000-07-28 16:41:40 (GMT)
committerericm <ericm>2000-07-28 16:41:40 (GMT)
commit267cdcb38ff575dcbc70567bc4abfcc050bd1e41 (patch)
treed02152b7dc634afcabb40048231221a29b35ba99 /generic/tkListbox.c
parent82a333cad567d29b2f3f855197dbc7798484cc8f (diff)
downloadtk-267cdcb38ff575dcbc70567bc4abfcc050bd1e41.zip
tk-267cdcb38ff575dcbc70567bc4abfcc050bd1e41.tar.gz
tk-267cdcb38ff575dcbc70567bc4abfcc050bd1e41.tar.bz2
* doc/label.n: Added -disabledforeground to list of options [Bug: 6053].
* generic/tkListbox.c: Changed resource class for disabledforeground to "DisabledForeground".
Diffstat (limited to 'generic/tkListbox.c')
-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},