RetroZilla/xpfe/communicator/resources/content/mac/platformCommunicatorOverlay.xul
2015-10-20 23:03:22 -04:00

108 lines
3.8 KiB
XML

<?xml version="1.0"?>
<!-- mac version of platformCommunicatorOverlay.xul -->
<!DOCTYPE overlay [
<!ENTITY % platformCommunicatorDTD SYSTEM "chrome://communicator-platform/locale/platformCommunicatorOverlay.dtd">
%platformCommunicatorDTD;
<!ENTITY % utilityDTD SYSTEM "chrome://communicator/locale/utilityOverlay.dtd">
%utilityDTD;
]>
<overlay id="platformCommunicatorOverlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- close -->
<menuitem id="menu_close" label="&closeCmd.label;" key="key_close" command="cmd_close"/>
<key id="key_close" key="&closeCmd.key;" command="cmd_close" modifiers="accel"/>
<key id="key_closeWindow" key="&closeCmd.key;" command="cmd_closeWindow" modifiers="accel,shift"/>
<key id="key_gotoHistory" key="&historyCmd.key;" oncommand="toHistory();" modifiers="accel,shift"/>
<menupopup id="menu_FilePopup">
<!-- quit -->
<menuseparator id="menu_FileQuitSeparator"/>
<menuitem label="&quitApplicationCmd.label;" id="menu_FileQuitItem"
key="key_quit" command="cmd_quit"/>
</menupopup>
<key id="key_quit" key="&quitApplicationCmd.key;" command="cmd_quit" modifiers="accel"/>
<command id="cmd_quit" oncommand="goQuitApplication()"/>
<!-- Edit Menu -->
<menuitem id="menu_redo" label="&redoCmd.label;" key="key_redo" command="cmd_redo"/>
<key id="key_redo" key="&redoCmd.key;" command="cmd_redo" modifiers="shift, accel"/>
<!-- Select All Key -->
<key id="key_selectAll" key="&selectAllCmd.key;" modifiers="accel"/>
<!-- Delete Key -->
<key id="key_delete" keycode="VK_BACK" command="cmd_delete"/>
<!-- This adds the Print Setup item to both Browser and Composer's
Print toolbar button popup
-->
<menupopup id="printMenu">
<menuitem id="printSetupToolbar"
insertafter="printMenuItemToolbar"
label="&printSetupCmd.label;"
accesskey="&printSetupCmd.accesskey;"
command="cmd_printSetup"/>
</menupopup>
<!-- Find As You Type Keys -->
<key id="key_findTypeText"
key="&findTypeTextCmd.key;"/>
<key id="key_findTypeLinks"
key="&findTypeLinksCmd.key;"/>
<menuitem id="printPreviewMenuItem" hidden="true"/>
<menuitem id="printPreviewMenuItemToolbar" hidden="true"/>
<menuitem id="printPreviewAddressBook" hidden="true"/>
<menuitem id="threadPaneContext-printpreview" hidden="true"/>
<menuitem id="messagePaneContext-printpreview" hidden="true"/>
<!-- Tasks Commands -->
<commandset id="tasksCommands">
<command id="cmd_minimizeWindow" oncommand="window.minimize();"/>
<command id="cmd_zoomWindow" oncommand="ZoomCurrentWindow();"/>
</commandset>
<!-- Tasks Keys -->
<keyset id="tasksKeys">
<key id="key_minimizeWindow"
command="cmd_minimizeWindow"
key="&minimizeWindowCmd.key;"
modifiers="accel"/>
<!-- Standard OS X shortcut for opening Help (Cmd+? on most locales), visible
in the Help menu (if there's a Help viewer) -->
<key id="key_openHelp"
key="&openHelpFrontend.key;"
modifiers="&openHelpFrontend.modifiers;"/>
<!-- The Shift key is needed for the "?", thus we need openHelpCmd.key and
openHelpCmd.modifiers for the mapping -->
<key key="&openHelpCmd.key;"
modifiers="&openHelpCmd.modifiers;"
command="cmd_openHelp"/>
<key keycode="&openHelp2Cmd.key;"
command="cmd_openHelp"/>
</keyset>
<!-- Window menu -->
<menupopup id="windowPopup">
<menuitem command="cmd_minimizeWindow"
label="&minimizeWindowCmd.label;"
key="key_minimizeWindow"
position="1"/>
<menuitem command="cmd_zoomWindow"
label="&zoomWindowCmd.label;"
position="2"/>
<menuseparator position="3"/>
</menupopup>
<!-- Help menu -->
<menuitem id="aboutName" hidden="true"/>
</overlay>