diff options
author | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2009-04-28 20:00:28 +0000 |
---|---|---|
committer | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2009-04-28 20:00:28 +0000 |
commit | 421ee4856f637c33ba45c1cae4a21658717031cf (patch) | |
tree | 3881f7a56c38e6aec30af84dc138ee94485b4253 /AppKit | |
parent | a81570d9175bd8ef8079a76148e478eb67dafd95 (diff) |
[Author: dmaclach]
GTMTheme removing alpha from tabs.
DELTA=6 (0 added, 2 deleted, 4 changed)
R=thomasvl
Diffstat (limited to 'AppKit')
-rw-r--r-- | AppKit/GTMTheme.m | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/AppKit/GTMTheme.m b/AppKit/GTMTheme.m index aa7c9be..3ce4291 100644 --- a/AppKit/GTMTheme.m +++ b/AppKit/GTMTheme.m @@ -253,12 +253,10 @@ NSString *kGTMThemeDidChangeNotification = @"kGTMThemeDidChangeNotification"; NSColor *backgroundColor = [self backgroundColor]; switch (style) { case GTMThemeStyleTabBarDeselected: { - NSColor *startColor = [[backgroundColor gtm_colorAdjustedFor:uses[2] - faded:!active] - colorWithAlphaComponent:0.667]; - NSColor *endColor = [[backgroundColor gtm_colorAdjustedFor:uses[2] - faded:!active] - colorWithAlphaComponent:0.667]; + NSColor *startColor = [backgroundColor gtm_colorAdjustedFor:uses[2] + faded:!active]; + NSColor *endColor = [backgroundColor gtm_colorAdjustedFor:uses[2] + faded:!active]; gradient = [[[NSGradient alloc] initWithStartingColor:startColor endingColor:endColor] |