2007-03-22 10:30:00 -07:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
2012-06-25 01:24:49 -07:00
|
|
|
<!-- 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/. -->
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
<!DOCTYPE dialog [
|
|
|
|
<!ENTITY % customizeToolbarDTD SYSTEM "chrome://global/locale/customizeToolbar.dtd">
|
|
|
|
%customizeToolbarDTD;
|
|
|
|
]>
|
|
|
|
|
|
|
|
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
|
|
|
<?xml-stylesheet href="chrome://global/content/customizeToolbar.css" type="text/css"?>
|
|
|
|
<?xml-stylesheet href="chrome://global/skin/customizeToolbar.css" type="text/css"?>
|
|
|
|
|
|
|
|
<window id="CustomizeToolbarWindow"
|
|
|
|
title="&dialog.title;"
|
|
|
|
onload="onLoad();"
|
2009-02-16 07:27:20 -08:00
|
|
|
onunload="onUnload();"
|
2012-01-27 17:03:09 -08:00
|
|
|
style="&dialog.dimensions;"
|
2007-03-22 10:30:00 -07:00
|
|
|
persist="width height"
|
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
|
|
|
2007-05-23 11:08:10 -07:00
|
|
|
<script type="application/javascript" src="chrome://global/content/customizeToolbar.js"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
<stringbundle id="stringBundle" src="chrome://global/locale/customizeToolbar.properties"/>
|
|
|
|
|
2009-02-16 07:27:20 -08:00
|
|
|
<keyset id="CustomizeToolbarKeyset">
|
|
|
|
<key id="cmd_close1" keycode="VK_ESCAPE" oncommand="onClose();"/>
|
|
|
|
<key id="cmd_close2" keycode="VK_RETURN" oncommand="onClose();"/>
|
|
|
|
<key id="cmd_close3" keycode="VK_ENTER" oncommand="onClose();"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
</keyset>
|
|
|
|
|
|
|
|
<vbox id="main-box" flex="1">
|
|
|
|
<description id="instructions">
|
|
|
|
&instructions.description;
|
|
|
|
</description>
|
|
|
|
|
|
|
|
<vbox flex="1" id="palette-box"
|
2009-06-20 17:04:07 -07:00
|
|
|
ondragstart="onToolbarDragStart(event)"
|
|
|
|
ondragover="onPaletteDragOver(event)"
|
|
|
|
ondrop="onPaletteDrop(event)"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
<box align="center">
|
|
|
|
<label value="&show.label;"/>
|
|
|
|
<menulist id="modelist" value="icons" oncommand="updateToolbarMode(this.value);">
|
2012-03-29 08:33:52 -07:00
|
|
|
<menupopup id="modelistpopup">
|
|
|
|
<menuitem id="modefull" value="full" label="&iconsAndText.label;"/>
|
|
|
|
<menuitem id="modeicons" value="icons" label="&icons.label;"/>
|
|
|
|
<menuitem id="modetext" value="text" label="&text.label;"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
</menupopup>
|
|
|
|
</menulist>
|
2009-06-22 05:29:55 -07:00
|
|
|
|
2009-09-16 07:14:37 -07:00
|
|
|
<checkbox id="smallicons" oncommand="updateIconSize(this.checked ? 'small' : 'large');" label="&useSmallIcons.label;"/>
|
2009-06-22 05:29:55 -07:00
|
|
|
|
2012-03-29 08:33:52 -07:00
|
|
|
<button id="newtoolbar" label="&addNewToolbar.label;" oncommand="addNewToolbar();" icon="add"/>
|
|
|
|
<button id="restoreDefault" label="&restoreDefaultSet.label;" oncommand="restoreDefaultSet();" icon="revert"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
</box>
|
|
|
|
|
|
|
|
<separator class="groove"/>
|
|
|
|
|
|
|
|
<hbox align="center" pack="end">
|
2009-02-16 07:27:20 -08:00
|
|
|
<button id="donebutton" label="&saveChanges.label;" oncommand="onClose();"
|
2007-03-22 10:30:00 -07:00
|
|
|
default="true" icon="close"/>
|
|
|
|
</hbox>
|
|
|
|
</vbox>
|
|
|
|
|
|
|
|
</window>
|