[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#45502: [PATCH] Prettier key bindings in NS menu entries
From: |
Alan Third |
Subject: |
bug#45502: [PATCH] Prettier key bindings in NS menu entries |
Date: |
Wed, 30 Dec 2020 13:09:02 +0000 |
On Wed, Dec 30, 2020 at 12:46:52PM +0000, Alan Third wrote:
> Oh, I noticed that the Mark menu in dired has the Help menu search
> entry. I guess I've missed something somewhere. I wondered if that was
> set somewhere but couldn't see any reference to it so assumed macOS
> was doing something clever when it saw a "Help" top level submenu...
Ah, got it!
modified src/nsmenu.m
@@ -365,6 +365,9 @@
else
submenu = [menu addSubmenuWithTitle: wv->name];
+ if ([[submenu title] isEqualToString:@"Help"])
+ [NSApp setHelpMenu:submenu];
+
if (deep_p)
[submenu fillWithWidgetValue: wv->contents];
--
Alan Third
- bug#45502: [PATCH] Prettier key bindings in NS menu entries, (continued)
- bug#45502: [PATCH] Prettier key bindings in NS menu entries, Mattias Engdegård, 2020/12/29
- bug#45502: [PATCH] Prettier key bindings in NS menu entries, Alan Third, 2020/12/29
- bug#45502: [PATCH] Prettier key bindings in NS menu entries, Mattias Engdegård, 2020/12/29
- bug#45502: [PATCH] Prettier key bindings in NS menu entries, Alan Third, 2020/12/29
- bug#45502: [PATCH] Prettier key bindings in NS menu entries, Mattias Engdegård, 2020/12/29
- bug#45502: [PATCH] Prettier key bindings in NS menu entries, Alan Third, 2020/12/29
- bug#45502: [PATCH] Prettier key bindings in NS menu entries, Mattias Engdegård, 2020/12/29
- bug#45502: [PATCH] Prettier key bindings in NS menu entries, Alan Third, 2020/12/29
- bug#45502: [PATCH] Prettier key bindings in NS menu entries, Mattias Engdegård, 2020/12/30
- bug#45502: [PATCH] Prettier key bindings in NS menu entries, Alan Third, 2020/12/30
- bug#45502: [PATCH] Prettier key bindings in NS menu entries,
Alan Third <=
- bug#45502: [PATCH] Prettier key bindings in NS menu entries, Mattias Engdegård, 2020/12/30
- bug#45502: [PATCH] Prettier key bindings in NS menu entries, Mattias Engdegård, 2020/12/30
bug#45502: [PATCH] Prettier key bindings in NS menu entries, Daniel Martín, 2020/12/28