#import "StatusItemHack.h"
-#import "NewMainController.h"
+#import "MainController.h"
@implementation StatusItemHack
- (void)mouseDown:(NSEvent *)event
{
- [[MainController sharedController] menuClicked];
+ if ([self isEnabled]) {
+ [[MainController sharedController] menuClicked];
+ }
[super mouseDown:event];
}