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)
commitbd8aa1f448a8d403362dc23e6b8e14570945e272 (patch)
treed02152b7dc634afcabb40048231221a29b35ba99 /generic/tkListbox.c
parenta5179966d79dc5e42d4da2132e363da240f49319 (diff)
downloadtk-bd8aa1f448a8d403362dc23e6b8e14570945e272.zip
tk-bd8aa1f448a8d403362dc23e6b8e14570945e272.tar.gz
tk-bd8aa1f448a8d403362dc23e6b8e14570945e272.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},