Commit 84ee8aba authored by Adrian Robert's avatar Adrian Robert
Browse files

(EmacsMenu-addItemWithWidgetValue:): Don't add accelerator in parens under GNUstep.

parent fe41ae9e
......@@ -636,8 +636,11 @@ - (NSMenuItem *)addItemWithWidgetValue: (void *)wvptr
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:)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment