browser/components/customizableui/content/customizeMode.inc.xul

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

michael@0 1 <!-- This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 - License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 3 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
michael@0 4
michael@0 5 <hbox id="customization-container" flex="1" hidden="true">
michael@0 6 <vbox flex="1" id="customization-palette-container">
michael@0 7 <label id="customization-header">
michael@0 8 &customizeMode.menuAndToolbars.header2;
michael@0 9 </label>
michael@0 10 <hbox id="customization-empty" hidden="true">
michael@0 11 <label>&customizeMode.menuAndToolbars.empty;</label>
michael@0 12 <label onclick="BrowserOpenAddonsMgr('addons://discovery/');"
michael@0 13 onkeypress="BrowserOpenAddonsMgr('addons://discovery/');"
michael@0 14 id="customization-more-tools"
michael@0 15 class="text-link">
michael@0 16 &customizeMode.menuAndToolbars.emptyLink;
michael@0 17 </label>
michael@0 18 </hbox>
michael@0 19 <vbox id="customization-palette" class="customization-palette" flex="1"/>
michael@0 20 <spacer id="customization-spacer" flex="1"/>
michael@0 21 <hbox id="customization-footer">
michael@0 22 #ifdef CAN_DRAW_IN_TITLEBAR
michael@0 23 <button id="customization-titlebar-visibility-button" class="customizationmode-button"
michael@0 24 label="&customizeMode.titlebar;" type="checkbox"
michael@0 25 #NB: because oncommand fires after click, by the time we've fired, the checkbox binding
michael@0 26 # will already have switched the button's state, so this is correct:
michael@0 27 oncommand="gCustomizeMode.toggleTitlebar(this.hasAttribute('checked'))"/>
michael@0 28 #endif
michael@0 29 <button id="customization-toolbar-visibility-button" label="&customizeMode.toolbars;" class="customizationmode-button" type="menu">
michael@0 30 <menupopup id="customization-toolbar-menu" onpopupshowing="onViewToolbarsPopupShowing(event)"/>
michael@0 31 </button>
michael@0 32 <spacer flex="1"/>
michael@0 33 <button id="customization-undo-reset-button"
michael@0 34 class="customizationmode-button"
michael@0 35 hidden="true"
michael@0 36 oncommand="gCustomizeMode.undoReset();"
michael@0 37 label="&undoCmd.label;"/>
michael@0 38 <button id="customization-reset-button" oncommand="gCustomizeMode.reset();" label="&customizeMode.restoreDefaults;" class="customizationmode-button"/>
michael@0 39 </hbox>
michael@0 40 </vbox>
michael@0 41 <vbox id="customization-panel-container">
michael@0 42 <vbox id="customization-panelWrapper">
michael@0 43 <html:style html:type="text/html" scoped="scoped">
michael@0 44 @import url(chrome://global/skin/popup.css);
michael@0 45 </html:style>
michael@0 46 <box class="panel-arrowbox">
michael@0 47 <box flex="1"/>
michael@0 48 <image class="panel-arrow" side="top"/>
michael@0 49 </box>
michael@0 50 <box class="panel-arrowcontent" side="top" flex="1">
michael@0 51 <hbox id="customization-panelHolder"/>
michael@0 52 <box class="panel-inner-arrowcontentfooter" hidden="true"/>
michael@0 53 </box>
michael@0 54 </vbox>
michael@0 55 </vbox>
michael@0 56 </hbox>

mercurial