Bug 1457469 - fix display of shortcut key on Windows' File menu, r=chutten
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Fri, 27 Apr 2018 16:48:06 +0100
changeset 472185 298e7cf3cef66c869adf2eaba9700fe197638e6f
parent 472184 3e1004a7729fbd5af2d4ba3cf9c2bedbdb97768f
child 472186 c074adee208b16b890f2af005b944694797dcd17
push id1728
push userjlund@mozilla.com
push dateMon, 18 Jun 2018 21:12:27 +0000
treeherdermozilla-release@c296fde26f5f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerschutten
bugs1457469
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1457469 - fix display of shortcut key on Windows' File menu, r=chutten MozReview-Commit-ID: EW8BQU7LIYw
browser/base/content/browser-menubar.inc
--- a/browser/base/content/browser-menubar.inc
+++ b/browser/base/content/browser-menubar.inc
@@ -91,25 +91,23 @@
                           accesskey="&goOfflineCmd.accesskey;"
                           type="checkbox"
                           observes="workOfflineMenuitemState"
                           oncommand="BrowserOffline.toggleOfflineStatus();"/>
                 <menuitem id="menu_FileQuitItem"
 #ifdef XP_WIN
                           label="&quitApplicationCmdWin2.label;"
                           accesskey="&quitApplicationCmdWin2.accesskey;"
-#else
-#ifdef XP_MACOSX
+#elifdef XP_MACOSX
                           label="&quitApplicationCmdMac2.label;"
 #else
                           label="&quitApplicationCmd.label;"
                           accesskey="&quitApplicationCmd.accesskey;"
 #endif
                           key="key_quitApplication"
-#endif
                           command="cmd_quitApplication"/>
               </menupopup>
             </menu>
 
             <menu id="edit-menu" label="&editMenu.label;"
                   accesskey="&editMenu.accesskey;">
               <menupopup id="menu_EditPopup"
                          onpopupshowing="updateEditUIVisibility()"