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:
f75034b
)
Hopefully fixed a crash when popping up the menu like a madman.
author
Kent Sutherland
<ksuther@ithinksw.com>
Sun, 25 Jul 2004 19:00:36 +0000
(19:00 +0000)
committer
Kent Sutherland
<ksuther@ithinksw.com>
Sun, 25 Jul 2004 19:00:36 +0000
(19:00 +0000)
MainController.m
patch
|
blob
|
history
diff --git
a/MainController.m
b/MainController.m
index
5406ad9
..
64af7d0
100755
(executable)
--- a/
MainController.m
+++ b/
MainController.m
@@
-1003,8
+1003,9
@@
static MainController *sharedController;
- (void)popupMenu
{
if (!_popped) {
- NSMenu *menu = [menuController menu];
_popped = YES;
+ [self menuClicked];
+ NSMenu *menu = [statusItem menu];
[(NSCarbonMenuImpl *)[menu _menuImpl] popUpMenu:menu atLocation:[NSEvent mouseLocation] width:1 forView:nil withSelectedItem:-30 withFont:[NSFont menuFontOfSize:32]];
_popped = NO;
}