Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
84ee8aba
Commit
84ee8aba
authored
Mar 06, 2009
by
Adrian Robert
Browse files
(EmacsMenu-addItemWithWidgetValue:): Don't add accelerator in parens under GNUstep.
parent
fe41ae9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
src/nsmenu.m
src/nsmenu.m
+3
-0
No files found.
src/nsmenu.m
View file @
84ee8aba
...
...
@@ -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
:)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment