From e1b63b848ff4299ee5c0927a1d4b52ab23934a2d Mon Sep 17 00:00:00 2001 From: cacaodev Date: Sat, 23 May 2009 10:57:44 +0200 Subject: [PATCH] Set disabled CPMenuItem's text color to lightGrayColor instead of darkGrayColor --- AppKit/CPMenuItem.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppKit/CPMenuItem.j b/AppKit/CPMenuItem.j index b890c8593..401000872 100644 --- a/AppKit/CPMenuItem.j +++ b/AppKit/CPMenuItem.j @@ -1188,7 +1188,7 @@ var _CPMenuItemSelectionColor = nil, - (CPColor)textColor { - return [_menuItem isEnabled] ? (_textColor ? _textColor : [CPColor colorWithCalibratedRed:70.0 / 255.0 green:69.0 / 255.0 blue:69.0 / 255.0 alpha:1.0]) : [CPColor darkGrayColor]; + return [_menuItem isEnabled] ? (_textColor ? _textColor : [CPColor colorWithCalibratedRed:70.0 / 255.0 green:69.0 / 255.0 blue:69.0 / 255.0 alpha:1.0]) : [CPColor lightGrayColor]; } - (void)setTextShadowColor:(CPColor)aColor