git.ithinksw.org
/
MenuTunes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9cebb1f
)
No idea what I changed, but I'm trying to fix the crash.
author
Kent Sutherland
<ksuther@ithinksw.com>
Sat, 11 Sep 2004 02:39:56 +0000
(
02:39
+0000)
committer
Kent Sutherland
<ksuther@ithinksw.com>
Sat, 11 Sep 2004 02:39:56 +0000
(
02:39
+0000)
MainController.m
patch
|
blob
|
history
diff --git
a/MainController.m
b/MainController.m
index
8784dd1
..
157b97a
100755
(executable)
--- a/
MainController.m
+++ b/
MainController.m
@@
-358,12
+358,16
@@
static MainController *sharedController;
- (void)timerUpdate
{
if ([[self currentRemote] playerStateUniqueIdentifier] == nil) {
- (void)timerUpdate
{
if ([[self currentRemote] playerStateUniqueIdentifier] == nil) {
+ if ([statusItem isEnabled]) {
+ [statusItem setToolTip:@"iTunes not responding."];
+ [self clearHotKeys];
+ }
[statusItem setEnabled:NO];
[statusItem setEnabled:NO];
- [statusItem setToolTip:@"iTunes not responding."];
return;
} else if (![statusItem isEnabled]) {
[statusItem setEnabled:YES];
[statusItem setToolTip:_toolTip];
return;
} else if (![statusItem isEnabled]) {
[statusItem setEnabled:YES];
[statusItem setToolTip:_toolTip];
+ [self setupHotKeys];
return;
}
return;
}