Launch player with MenuTunes now works.
authorKent Sutherland <ksuther@ithinksw.com>
Sun, 13 Jul 2003 19:19:04 +0000 (19:19 +0000)
committerKent Sutherland <ksuther@ithinksw.com>
Sun, 13 Jul 2003 19:19:04 +0000 (19:19 +0000)
MainController.m

index d7dfa6f..6d7fe08 100755 (executable)
@@ -71,7 +71,14 @@ static MainController *sharedController;
     if ([currentRemote playerRunningState] == ITMTRemotePlayerRunning) {
         [self applicationLaunched:nil];
     } else {
-        [self applicationTerminated:nil];
+        if ([df boolForKey:@"LaunchPlayerWithMT"])
+        {
+            [self showPlayer];
+        }
+        else
+        {
+            [self applicationTerminated:nil];
+        }
     }
     
     [statusItem setImage:[NSImage imageNamed:@"menu"]];