The status item is disabled while the menu is being updated
authorKent Sutherland <ksuther@ithinksw.com>
Sun, 16 May 2004 19:06:01 +0000 (19:06 +0000)
committerKent Sutherland <ksuther@ithinksw.com>
Sun, 16 May 2004 19:06:01 +0000 (19:06 +0000)
MainController.m

index 9d2e3cc..a8c28d0 100755 (executable)
@@ -358,6 +358,7 @@ static MainController *sharedController;
         }
         
         timerUpdating = YES;
+        [_statusItem setEnabled:NO];
         
         NS_DURING
             latestPlaylistClass = [[self currentRemote] currentPlaylistClass];
@@ -391,6 +392,7 @@ static MainController *sharedController;
         NS_ENDHANDLER
         
         timerUpdating = NO;
+        [_statusItem setEnabled:YES];
     }
 }