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.

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

mercurial