X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/d9ea951aa04106a979f9645cd996c9f297fef733..97a58d16b59657d99b396a9d7e3ef2eadb357fa8:/MainController.m?ds=sidebyside diff --git a/MainController.m b/MainController.m index eacfd0d..681da56 100755 --- a/MainController.m +++ b/MainController.m @@ -83,8 +83,8 @@ static MainController *sharedController; } } - [statusItem setImage:[NSImage imageNamed:@"menu"]]; - [statusItem setAlternateImage:[NSImage imageNamed:@"selected_image"]]; + [statusItem setImage:[NSImage imageNamed:@"MenuNormal"]]; + [statusItem setAlternateImage:[NSImage imageNamed:@"MenuInverted"]]; } - (ITMTRemote *)loadRemote @@ -177,7 +177,7 @@ static MainController *sharedController; [self setLatestSongIdentifier:[currentRemote playerStateUniqueIdentifier]]; latestPlaylistClass = [currentRemote currentPlaylistClass]; [menuController rebuildSubmenus]; - + if ( [df boolForKey:@"showSongInfoOnChange"] ) { [self showCurrentTrackInfo]; } @@ -424,12 +424,13 @@ static MainController *sharedController; NSString *title = [currentRemote currentSongTitle]; if ( title ) { - NSString *album = nil; - NSString *artist = nil; - NSString *time = nil; - int trackNumber = 0; - int trackTotal = 0; - int rating = 0; + NSString *album = nil; + NSString *artist = nil; + NSString *time = nil; + int trackNumber = 0; + int trackTotal = 0; + int rating = 0; + ITMTRemotePlayerSource source = [currentRemote currentSource]; if ( [df boolForKey:@"showAlbum"] ) { album = [currentRemote currentSongAlbum]; @@ -458,7 +459,8 @@ static MainController *sharedController; time:time trackNumber:trackNumber trackTotal:trackTotal - rating:rating]; + rating:rating + source:source]; } else { title = NSLocalizedString(@"noSongPlaying", @"No song is playing."); [statusWindowController showSongWindowWithTitle:title @@ -467,7 +469,8 @@ static MainController *sharedController; time:nil trackNumber:0 trackTotal:0 - rating:0]; + rating:0 + source:[currentRemote currentSource]]; } }