mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-09-06 09:48:27 +00:00
Merge branch 'always_show_menu_item' of https://github.com/Luflosi/kitty
This commit is contained in:
commit
151c6c2c70
1 changed files with 6 additions and 8 deletions
|
|
@ -253,14 +253,12 @@ cocoa_create_global_menu(void) {
|
|||
keyEquivalent:@","]
|
||||
setTarget:global_menu_target];
|
||||
|
||||
if (new_window_key[0]) {
|
||||
NSMenuItem* new_os_window_menu_item =
|
||||
[appMenu addItemWithTitle:@"New OS window"
|
||||
action:@selector(new_os_window:)
|
||||
keyEquivalent:@(new_window_key)];
|
||||
[new_os_window_menu_item setKeyEquivalentModifierMask:new_window_mods];
|
||||
[new_os_window_menu_item setTarget:global_menu_target];
|
||||
}
|
||||
NSMenuItem* new_os_window_menu_item =
|
||||
[appMenu addItemWithTitle:@"New OS window"
|
||||
action:@selector(new_os_window:)
|
||||
keyEquivalent:@(new_window_key)];
|
||||
[new_os_window_menu_item setKeyEquivalentModifierMask:new_window_mods];
|
||||
[new_os_window_menu_item setTarget:global_menu_target];
|
||||
|
||||
|
||||
[appMenu addItemWithTitle:[NSString stringWithFormat:@"Hide %@", app_name]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue