mirror of
https://github.com/mpv-player/mpv
synced 2025-04-01 23:00:41 +00:00
parent
134f3e97bf
commit
6a14dd593f
@ -82,6 +82,8 @@ static pthread_t playback_thread_id;
|
|||||||
{
|
{
|
||||||
NSMenu *menu = [[NSMenu alloc] initWithTitle:@"Apple Menu"];
|
NSMenu *menu = [[NSMenu alloc] initWithTitle:@"Apple Menu"];
|
||||||
[self mainMenuItemWithParent:mainMenu child:menu];
|
[self mainMenuItemWithParent:mainMenu child:menu];
|
||||||
|
[self menuItemWithParent:menu title:@"Hide mpv"
|
||||||
|
action:@selector(hide:) keyEquivalent: @"h"];
|
||||||
[self menuItemWithParent:menu title:@"Quit mpv"
|
[self menuItemWithParent:menu title:@"Quit mpv"
|
||||||
action:@selector(stopPlayback) keyEquivalent: @"q"];
|
action:@selector(stopPlayback) keyEquivalent: @"q"];
|
||||||
return [menu autorelease];
|
return [menu autorelease];
|
||||||
|
Loading…
Reference in New Issue
Block a user