[self remotePlayerTerminated:nil];
}
- statusItem = [[ITStatusItem alloc] initWithStatusBar:[NSStatusBar systemStatusBar]
- withLength:NSSquareStatusItemLength];
+ statusItem = [[ITStatusItem alloc] initWithStatusBar:[NSStatusBar systemStatusBar] withLength:NSSquareStatusItemLength];
[statusItem setImage:[NSImage imageNamed:@"menu"]];
[statusItem setAlternateImage:[NSImage imageNamed:@"selected_image"]];
didHaveAlbumName = (([curAlbumName length] > 0) ? YES : NO);
}
}
+ [menu update];
}
//Rebuild the upcoming songs submenu. Can be improved a lot.
int curSet = [currentRemote currentEQPresetIndex];
int item = [[sender representedObject] intValue];
[currentRemote switchToEQAtIndex:item];
- [[eqMenu itemAtIndex:curSet - 1] setState:NSOffState];
- [[eqMenu itemAtIndex:item - 1] setState:NSOnState];
+ [[eqMenu itemAtIndex:curSet + 1] setState:NSOffState];
+ [[eqMenu itemAtIndex:item + 2] setState:NSOnState];
}
- (void)playPause:(id)sender