gecko-dev/toolkit/components/help/content/helpContextOverlay.xul

62 строки
2.2 KiB
XML

<?xml version="1.0"?>
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
<!DOCTYPE overlay [
<!ENTITY % helpDTD SYSTEM "chrome://help/locale/help.dtd">
%helpDTD;
]>
<overlay id="contentAreaContextOverlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
# Help Window's right-click menu
<popupset id="contentAreaContextSet">
<menupopup id="contentAreaContextMenu"
onpopupshowing="goUpdateCommand('cmd_copy')">
<menuitem id="context-back"
label="&backButton.label;"
accesskey="&backButton.accesskey;"
observes="canGoBack"
oncommand="goBack()"/>
<menuitem id="context-forward"
label="&forwardButton.label;"
accesskey="&forwardButton.accesskey;"
observes="canGoForward"
oncommand="goForward()"/>
<menuseparator/>
<menuitem id="context-copy"
label="&copyCmd.label;"
accesskey="&copyCmd.accesskey;"
command="cmd_copy"
disabled="true"/>
<menuitem id="context-selectall"
label="&selectAllCmd.label;"
accesskey="&selectAllCmd.accesskey;"
command="cmd_selectAll"/>
<menuseparator/>
<menuitem id="zoom-in"
label="&fullZoomEnlargeBtn.label;"
accesskey="&fullZoomEnlargeBtn.accesskey;"
oncommand="ZoomManager.enlarge();"/>
<menuitem id="zoom-out"
label="&fullZoomReduceBtn.label;"
accesskey="&fullZoomReduceBtn.accesskey;"
oncommand="ZoomManager.reduce();"/>
#ifdef XP_WIN
#define HELP_ALWAYS_RAISED_TOGGLE
#endif
#ifdef HELP_ALWAYS_RAISED_TOGGLE
<menuseparator/>
<menuitem id="context-zlevel"
type="checkbox"
checked="true"
persist="checked"
label="&zLevel.label;"
accesskey="&zLevel.accesskey;"
oncommand="toggleZLevel(this);"/>
#endif
</menupopup>
</popupset>
</overlay>