1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/content/customizeToolbar.xul Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,67 @@ 1.4 +<?xml version="1.0"?> 1.5 + 1.6 +<!-- This Source Code Form is subject to the terms of the Mozilla Public 1.7 + - License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 1.9 + 1.10 +<!DOCTYPE dialog [ 1.11 +<!ENTITY % customizeToolbarDTD SYSTEM "chrome://global/locale/customizeToolbar.dtd"> 1.12 + %customizeToolbarDTD; 1.13 +]> 1.14 + 1.15 +<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 1.16 +<?xml-stylesheet href="chrome://global/content/customizeToolbar.css" type="text/css"?> 1.17 +<?xml-stylesheet href="chrome://global/skin/customizeToolbar.css" type="text/css"?> 1.18 + 1.19 +<window id="CustomizeToolbarWindow" 1.20 + title="&dialog.title;" 1.21 + onload="onLoad();" 1.22 + onunload="onUnload();" 1.23 + style="&dialog.dimensions;" 1.24 + persist="width height" 1.25 + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 1.26 + 1.27 +<script type="application/javascript" src="chrome://global/content/customizeToolbar.js"/> 1.28 + 1.29 +<stringbundle id="stringBundle" src="chrome://global/locale/customizeToolbar.properties"/> 1.30 + 1.31 +<keyset id="CustomizeToolbarKeyset"> 1.32 + <key id="cmd_close1" keycode="VK_ESCAPE" oncommand="onClose();"/> 1.33 + <key id="cmd_close2" keycode="VK_RETURN" oncommand="onClose();"/> 1.34 +</keyset> 1.35 + 1.36 +<vbox id="main-box" flex="1"> 1.37 + <description id="instructions"> 1.38 + &instructions.description; 1.39 + </description> 1.40 + 1.41 + <vbox flex="1" id="palette-box" 1.42 + ondragstart="onToolbarDragStart(event)" 1.43 + ondragover="onPaletteDragOver(event)" 1.44 + ondrop="onPaletteDrop(event)"/> 1.45 + 1.46 + <box align="center"> 1.47 + <label value="&show.label;"/> 1.48 + <menulist id="modelist" value="icons" oncommand="updateToolbarMode(this.value);"> 1.49 + <menupopup id="modelistpopup"> 1.50 + <menuitem id="modefull" value="full" label="&iconsAndText.label;"/> 1.51 + <menuitem id="modeicons" value="icons" label="&icons.label;"/> 1.52 + <menuitem id="modetext" value="text" label="&text.label;"/> 1.53 + </menupopup> 1.54 + </menulist> 1.55 + 1.56 + <checkbox id="smallicons" oncommand="updateIconSize(this.checked ? 'small' : 'large');" label="&useSmallIcons.label;"/> 1.57 + 1.58 + <button id="newtoolbar" label="&addNewToolbar.label;" oncommand="addNewToolbar();" icon="add"/> 1.59 + <button id="restoreDefault" label="&restoreDefaultSet.label;" oncommand="restoreDefaultSet();" icon="revert"/> 1.60 + </box> 1.61 + 1.62 + <separator class="groove"/> 1.63 + 1.64 + <hbox align="center" pack="end"> 1.65 + <button id="donebutton" label="&saveChanges.label;" oncommand="onClose();" 1.66 + default="true" icon="close"/> 1.67 + </hbox> 1.68 +</vbox> 1.69 + 1.70 +</window>