3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v.
2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/
2.0/.
8 <!ENTITY % brandDTD SYSTEM
"chrome://branding/locale/brand.dtd">
10 <!ENTITY % baseMenuOverlayDTD SYSTEM
"chrome://browser/locale/baseMenuOverlay.dtd">
13 <overlay id=
"baseMenuOverlay"
14 xmlns:
rdf=
"http://www.w3.org/1999/02/22-rdf-syntax-ns#"
15 xmlns=
"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
17 <script type=
"application/javascript" src=
"chrome://browser/content/utilityOverlay.js"/>
20 <!-- nsMenuBarX hides these and uses them to build the Application menu.
21 When using Carbon widgets for Mac OS X widgets, some of these are not
22 used as they only apply to Cocoa widget builds. All version of Firefox
23 through Firefox 2 will use Carbon widgets. -->
24 <menupopup id=
"menu_ToolsPopup">
25 <menuitem id=
"menu_preferences" label=
"&preferencesCmdMac.label;" key=
"key_preferencesCmdMac" oncommand=
"openPreferences();"/>
26 <menuitem id=
"menu_mac_services" label=
"&servicesMenuMac.label;"/>
27 <menuitem id=
"menu_mac_hide_app" label=
"&hideThisAppCmdMac.label;" key=
"key_hideThisAppCmdMac"/>
28 <menuitem id=
"menu_mac_hide_others" label=
"&hideOtherAppsCmdMac.label;" key=
"key_hideOtherAppsCmdMac"/>
29 <menuitem id=
"menu_mac_show_all" label=
"&showAllAppsCmdMac.label;"/>
31 <!-- Mac window menu -->
32 #include ../../../toolkit/content/macWindowMenu.inc
37 label=
"&helpMenuWin.label;"
38 accesskey=
"&helpMenuWin.accesskey;">
41 label=
"&helpMenu.label;"
42 accesskey=
"&helpMenu.accesskey;">
44 <menupopup id=
"menu_HelpPopup" onpopupshowing=
"buildHelpMenu();">
45 <menuitem id=
"menu_openHelp"
46 oncommand=
"openHelpLink('firefox-help')"
47 onclick=
"checkForMiddleClick(this, event);"
48 label=
"&productHelp.label;"
49 accesskey=
"&productHelp.accesskey;"
51 key=
"key_openHelpMac"/>
55 <menuitem id=
"troubleShooting"
56 accesskey=
"&helpTroubleshootingInfo.accesskey;"
57 label=
"&helpTroubleshootingInfo.label;"
58 oncommand=
"openTroubleshootingPage()"
59 onclick=
"checkForMiddleClick(this, event);"/>
60 <menuitem id=
"feedbackPage"
61 accesskey=
"&helpFeedbackPage.accesskey;"
62 label=
"&helpFeedbackPage.label;"
63 oncommand=
"openFeedbackPage()"
64 onclick=
"checkForMiddleClick(this, event);"/>
65 <menuitem id=
"helpSafeMode"
66 accesskey=
"&helpSafeMode.accesskey;"
67 label=
"&helpSafeMode.label;"
68 oncommand=
"safeModeRestart();"/>
69 <menuseparator id=
"aboutSeparator"/>
70 <menuitem id=
"aboutName"
71 accesskey=
"&aboutProduct.accesskey;"
72 label=
"&aboutProduct.label;"
73 oncommand=
"openAboutDialog();"/>
77 <keyset id=
"baseMenuKeyset">
79 <key id=
"key_openHelpMac"
80 oncommand=
"openHelpLink('firefox-osxkey');"
81 key=
"&helpMac.commandkey;"
83 <!-- These are used to build the Application menu under Cocoa widgets -->
84 <key id=
"key_preferencesCmdMac"
85 key=
"&preferencesCmdMac.commandkey;"
87 <key id=
"key_hideThisAppCmdMac"
88 key=
"&hideThisAppCmdMac.commandkey;"
90 <key id=
"key_hideOtherAppsCmdMac"
91 key=
"&hideOtherAppsCmdMac.commandkey;"
92 modifiers=
"accel,alt"/>
96 <stringbundleset id=
"stringbundleset">
97 <stringbundle id=
"bundle_browser" src=
"chrome://browser/locale/browser.properties"/>
98 <stringbundle id=
"bundle_browser_region" src=
"chrome://browser-region/locale/region.properties"/>