emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/src nsmenu.m


From: Adrian Robert
Subject: [Emacs-diffs] emacs/src nsmenu.m
Date: Fri, 06 Mar 2009 19:06:46 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Adrian Robert <arobert> 09/03/06 19:06:46

Modified files:
        src            : nsmenu.m 

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

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/src/nsmenu.m?cvsroot=emacs&r1=1.20&r2=1.21

Patches:
Index: nsmenu.m
===================================================================
RCS file: /sources/emacs/emacs/src/nsmenu.m,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- nsmenu.m    13 Feb 2009 13:30:36 -0000      1.20
+++ nsmenu.m    6 Mar 2009 19:06:45 -0000       1.21
@@ -636,8 +636,11 @@
         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:)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]