1
Fork 0
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:
Adrian Robert 2009-03-06 19:06:45 +00:00
parent fe41ae9e00
commit 84ee8aba37

View file

@ -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:)