git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Should disable the status item when iTunes is locked.
[MenuTunes.git]
/
StatusItemHack.m
diff --git
a/StatusItemHack.m
b/StatusItemHack.m
index
62e8369
..
d493046
100755
(executable)
--- a/
StatusItemHack.m
+++ b/
StatusItemHack.m
@@
-10,7
+10,9
@@
- (void)mouseDown:(NSEvent *)event
{
- (void)mouseDown:(NSEvent *)event
{
- [[MainController sharedController] menuClicked];
+ if ([self isEnabled]) {
+ [[MainController sharedController] menuClicked];
+ }
[super mouseDown:event];
}
[super mouseDown:event];
}