X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/3c44511cb0f9de3e1698a0a33721f6f140ea2a3a..a876619d0c610eaee6aa5e1a105106f265b2c084:/MenuController.m?ds=inline diff --git a/MenuController.m b/MenuController.m index a7147a4..7c618f5 100755 --- a/MenuController.m +++ b/MenuController.m @@ -15,6 +15,7 @@ #import #import #import +#import @interface MenuController (SubmenuMethods) - (NSMenu *)ratingMenu; @@ -222,7 +223,14 @@ keyEquivalent:@""]; [tempItem setTag:MTMenuPreferencesItem]; [tempItem setTarget:self]; - } else if ([nextObject isEqualToString:@"quit"]) { + } else if ([nextObject isEqualToString:@"about"]) { + ITDebugLog(@"Add \"About MenuTunes...\" menu item."); + tempItem = [menu addItemWithTitle:NSLocalizedString(@"about", @"About MenuTunes...") + action:@selector(performMainMenuAction:) + keyEquivalent:@""]; + [tempItem setTag:MTMenuAboutItem]; + [tempItem setTarget:self]; + } else if ([nextObject isEqualToString:@"quit"]) { if ([[MainController sharedController] blingBling] == NO) { ITDebugLog(@"Add \"Register MenuTunes...\" menu item."); tempItem = [menu addItemWithTitle:NSLocalizedString(@"register", @"Register MenuTunes...") action:@selector(performMainMenuAction:) keyEquivalent:@""]; @@ -876,6 +884,10 @@ ITDebugLog(@"Performing Menu Action: Preferences..."); [[MainController sharedController] showPreferences]; break; + case MTMenuAboutItem: + ITDebugLog(@"Performing Menu Action: About MenuTunes..."); + [[ITAboutWindowController sharedController] showAboutWindow]; + break; case MTMenuQuitItem: ITDebugLog(@"Performing Menu Action: Quit"); [[MainController sharedController] quitMenuTunes];