New OS window -> New OS Window
This commit is contained in:
parent
46a0566e2e
commit
0ca4faa25b
@ -145,7 +145,7 @@ get_dock_menu(id self UNUSED, SEL _cmd UNUSED, NSApplication *sender UNUSED) {
|
|||||||
if (!dockMenu) {
|
if (!dockMenu) {
|
||||||
GlobalMenuTarget *global_menu_target = [GlobalMenuTarget shared_instance];
|
GlobalMenuTarget *global_menu_target = [GlobalMenuTarget shared_instance];
|
||||||
dockMenu = [[NSMenu alloc] init];
|
dockMenu = [[NSMenu alloc] init];
|
||||||
[[dockMenu addItemWithTitle:@"New OS window"
|
[[dockMenu addItemWithTitle:@"New OS Window"
|
||||||
action:@selector(new_os_window:)
|
action:@selector(new_os_window:)
|
||||||
keyEquivalent:@""]
|
keyEquivalent:@""]
|
||||||
setTarget:global_menu_target];
|
setTarget:global_menu_target];
|
||||||
@ -374,7 +374,7 @@ cocoa_create_global_menu(void) {
|
|||||||
keyEquivalent:@""];
|
keyEquivalent:@""];
|
||||||
[appMenu addItem:[NSMenuItem separatorItem]];
|
[appMenu addItem:[NSMenuItem separatorItem]];
|
||||||
MENU_ITEM(appMenu, @"Preferences…", edit_config_file);
|
MENU_ITEM(appMenu, @"Preferences…", edit_config_file);
|
||||||
MENU_ITEM(appMenu, @"New OS window", new_os_window);
|
MENU_ITEM(appMenu, @"New OS Window", new_os_window);
|
||||||
|
|
||||||
[appMenu addItemWithTitle:[NSString stringWithFormat:@"Hide %@", app_name]
|
[appMenu addItemWithTitle:[NSString stringWithFormat:@"Hide %@", app_name]
|
||||||
action:@selector(hide:)
|
action:@selector(hide:)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user