mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-26 07:11:34 -08:00
(EmacsMenu-addItemWithWidgetValue:): Don't add accelerator in parens under GNUstep.
This commit is contained in:
parent
fe41ae9e00
commit
84ee8aba37
1 changed files with 3 additions and 0 deletions
|
|
@ -636,8 +636,11 @@ name_is_separator (name)
|
|||
title = @"< ? >"; /* (get out in the open so we know about it) */
|
||||
|
||||
keyEq = [self parseKeyEquiv: wv->key];
|
||||
#ifdef NS_IMPL_COCOA
|
||||
/* OS X just ignores modifier strings longer than one character */
|
||||
if (keyEquivModMask == 0)
|
||||
title = [title stringByAppendingFormat: @" (%@)", keyEq];
|
||||
#endif
|
||||
|
||||
item = [self addItemWithTitle: (NSString *)title
|
||||
action: @selector (menuDown:)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue