From 134c96b0acf0057554ce324ea6d3cedae6a6acbc Mon Sep 17 00:00:00 2001 From: Kent Sutherland Date: Sun, 10 Apr 2005 02:14:19 +0000 Subject: [PATCH] Removed the disabling of the hot key center when I disabled the status item because it seemed to be causing hot keys to disappear completely for some reason. --- MainController.m | 4 ---- 1 file changed, 4 deletions(-) diff --git a/MainController.m b/MainController.m index 61c2d68..eaaa953 100755 --- a/MainController.m +++ b/MainController.m @@ -388,14 +388,12 @@ static MainController *sharedController; if (refreshTimer && identifier == nil) { if ([statusItem isEnabled]) { [statusItem setToolTip:@"iTunes not responding."]; - [[ITHotKeyCenter sharedCenter] setEnabled:NO]; } [statusItem setEnabled:NO]; return; } else if (![statusItem isEnabled]) { [statusItem setEnabled:YES]; [statusItem setToolTip:_toolTip]; - [[ITHotKeyCenter sharedCenter] setEnabled:YES]; return; } @@ -465,7 +463,6 @@ static MainController *sharedController; if (refreshTimer) { if ([statusItem isEnabled]) { [statusItem setToolTip:NSLocalizedString(@"iTunesNotResponding", @"iTunes is not responding.")]; - [[ITHotKeyCenter sharedCenter] setEnabled:NO]; } [statusItem setEnabled:NO]; } else { @@ -477,7 +474,6 @@ static MainController *sharedController; } else if (![statusItem isEnabled]) { [statusItem setEnabled:YES]; [statusItem setToolTip:_toolTip]; - [[ITHotKeyCenter sharedCenter] setEnabled:YES]; return; } -- 2.20.1