+ {
+ NSArray *apps = [[NSWorkspace sharedWorkspace] launchedApplications];
+ int i;
+
+ for (i = 0; i < [apps count]; i++) {
+ if ([[[apps objectAtIndex:i] objectForKey:@"NSApplicationName"]
+ isEqualToString:@"iTunes"]) {
+ [mt rebuildMenu];
+ }
+ }