1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/components/help/content/helpContextOverlay.xul Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,61 @@ 1.4 +<?xml version="1.0"?> 1.5 +# This Source Code Form is subject to the terms of the Mozilla Public 1.6 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.8 + 1.9 +<!DOCTYPE overlay [ 1.10 + <!ENTITY % helpDTD SYSTEM "chrome://help/locale/help.dtd"> 1.11 + %helpDTD; 1.12 +]> 1.13 +<overlay id="contentAreaContextOverlay" 1.14 + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 1.15 + 1.16 +# Help Window's right-click menu 1.17 + <popupset id="contentAreaContextSet"> 1.18 + <menupopup id="contentAreaContextMenu" 1.19 + onpopupshowing="goUpdateCommand('cmd_copy')"> 1.20 + <menuitem id="context-back" 1.21 + label="&backButton.label;" 1.22 + accesskey="&backButton.accesskey;" 1.23 + observes="canGoBack" 1.24 + oncommand="goBack()"/> 1.25 + <menuitem id="context-forward" 1.26 + label="&forwardButton.label;" 1.27 + accesskey="&forwardButton.accesskey;" 1.28 + observes="canGoForward" 1.29 + oncommand="goForward()"/> 1.30 + <menuseparator/> 1.31 + <menuitem id="context-copy" 1.32 + label="©Cmd.label;" 1.33 + accesskey="©Cmd.accesskey;" 1.34 + command="cmd_copy" 1.35 + disabled="true"/> 1.36 + <menuitem id="context-selectall" 1.37 + label="&selectAllCmd.label;" 1.38 + accesskey="&selectAllCmd.accesskey;" 1.39 + command="cmd_selectAll"/> 1.40 + <menuseparator/> 1.41 + <menuitem id="zoom-in" 1.42 + label="&fullZoomEnlargeBtn.label;" 1.43 + accesskey="&fullZoomEnlargeBtn.accesskey;" 1.44 + oncommand="ZoomManager.enlarge();"/> 1.45 + <menuitem id="zoom-out" 1.46 + label="&fullZoomReduceBtn.label;" 1.47 + accesskey="&fullZoomReduceBtn.accesskey;" 1.48 + oncommand="ZoomManager.reduce();"/> 1.49 +#ifdef XP_WIN 1.50 +#define HELP_ALWAYS_RAISED_TOGGLE 1.51 +#endif 1.52 +#ifdef HELP_ALWAYS_RAISED_TOGGLE 1.53 + <menuseparator/> 1.54 + <menuitem id="context-zlevel" 1.55 + type="checkbox" 1.56 + checked="true" 1.57 + persist="checked" 1.58 + label="&zLevel.label;" 1.59 + accesskey="&zLevel.accesskey;" 1.60 + oncommand="toggleZLevel(this);"/> 1.61 +#endif 1.62 + </menupopup> 1.63 + </popupset> 1.64 +</overlay>