hide the action button in minimal mode

This commit is contained in:
Mitchell Livingston 2008-01-15 05:09:46 +00:00
parent 804d0193d0
commit 4506f61a9e
1 changed files with 8 additions and 4 deletions

View File

@ -522,10 +522,14 @@
fraction: 1.0];
//action button
NSImage * actionImage = /*fMouseDownActionButton ? [NSImage imageNamed: @"ActionOn.png"] :*/ [NSImage imageNamed: @"ActionOff.png"];
[actionImage setFlipped: YES];
[actionImage drawInRect: [self actionButtonRectForBounds: cellFrame] fromRect: NSZeroRect operation: NSCompositeSourceOver
fraction: 1.0];
if (!minimal)
{
NSImage * actionImage = /*fMouseDownActionButton ? [NSImage imageNamed: @"ActionOn.png"] :*/
[NSImage imageNamed: @"ActionOff.png"];
[actionImage setFlipped: YES];
[actionImage drawInRect: [self actionButtonRectForBounds: cellFrame] fromRect: NSZeroRect operation: NSCompositeSourceOver
fraction: 1.0];
}
//status
if (!minimal)