3 <!-- This Source Code Form is subject to the terms of the Mozilla Public
4 - License, v. 2.0. If a copy of the MPL was not distributed with this
5 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
8 <!ENTITY % customizeToolbarDTD SYSTEM
"chrome://global/locale/customizeToolbar.dtd">
12 <?xml-stylesheet href=
"chrome://global/skin/" type=
"text/css"?>
13 <?xml-stylesheet href=
"chrome://global/content/customizeToolbar.css" type=
"text/css"?>
14 <?xml-stylesheet href=
"chrome://global/skin/customizeToolbar.css" type=
"text/css"?>
16 <window id=
"CustomizeToolbarWindow"
17 title=
"&dialog.title;"
19 onunload=
"onUnload();"
20 style=
"&dialog.dimensions;"
21 persist=
"width height"
22 xmlns=
"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
24 <script type=
"application/javascript" src=
"chrome://global/content/customizeToolbar.js"/>
26 <stringbundle id=
"stringBundle" src=
"chrome://global/locale/customizeToolbar.properties"/>
28 <keyset id=
"CustomizeToolbarKeyset">
29 <key id=
"cmd_close1" keycode=
"VK_ESCAPE" oncommand=
"onClose();"/>
30 <key id=
"cmd_close2" keycode=
"VK_RETURN" oncommand=
"onClose();"/>
33 <vbox id=
"main-box" flex=
"1">
34 <description id=
"instructions">
35 &instructions.description;
38 <vbox flex=
"1" id=
"palette-box"
39 ondragstart=
"onToolbarDragStart(event)"
40 ondragover=
"onPaletteDragOver(event)"
41 ondrop=
"onPaletteDrop(event)"/>
44 <label value=
"&show.label;"/>
45 <menulist id=
"modelist" value=
"icons" oncommand=
"updateToolbarMode(this.value);">
46 <menupopup id=
"modelistpopup">
47 <menuitem id=
"modefull" value=
"full" label=
"&iconsAndText.label;"/>
48 <menuitem id=
"modeicons" value=
"icons" label=
"&icons.label;"/>
49 <menuitem id=
"modetext" value=
"text" label=
"&text.label;"/>
53 <checkbox id=
"smallicons" oncommand=
"updateIconSize(this.checked ? 'small' : 'large');" label=
"&useSmallIcons.label;"/>
55 <button id=
"newtoolbar" label=
"&addNewToolbar.label;" oncommand=
"addNewToolbar();" icon=
"add"/>
56 <button id=
"restoreDefault" label=
"&restoreDefaultSet.label;" oncommand=
"restoreDefaultSet();" icon=
"revert"/>
59 <separator class=
"groove"/>
61 <hbox align=
"center" pack=
"end">
62 <button id=
"donebutton" label=
"&saveChanges.label;" oncommand=
"onClose();"
63 default=
"true" icon=
"close"/>