|
1 <?xml version="1.0"?> |
|
2 |
|
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/. --> |
|
6 |
|
7 <!DOCTYPE dialog [ |
|
8 <!ENTITY % customizeToolbarDTD SYSTEM "chrome://global/locale/customizeToolbar.dtd"> |
|
9 %customizeToolbarDTD; |
|
10 ]> |
|
11 |
|
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"?> |
|
15 |
|
16 <window id="CustomizeToolbarWindow" |
|
17 title="&dialog.title;" |
|
18 onload="onLoad();" |
|
19 onunload="onUnload();" |
|
20 style="&dialog.dimensions;" |
|
21 persist="width height" |
|
22 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> |
|
23 |
|
24 <script type="application/javascript" src="chrome://global/content/customizeToolbar.js"/> |
|
25 |
|
26 <stringbundle id="stringBundle" src="chrome://global/locale/customizeToolbar.properties"/> |
|
27 |
|
28 <keyset id="CustomizeToolbarKeyset"> |
|
29 <key id="cmd_close1" keycode="VK_ESCAPE" oncommand="onClose();"/> |
|
30 <key id="cmd_close2" keycode="VK_RETURN" oncommand="onClose();"/> |
|
31 </keyset> |
|
32 |
|
33 <vbox id="main-box" flex="1"> |
|
34 <description id="instructions"> |
|
35 &instructions.description; |
|
36 </description> |
|
37 |
|
38 <vbox flex="1" id="palette-box" |
|
39 ondragstart="onToolbarDragStart(event)" |
|
40 ondragover="onPaletteDragOver(event)" |
|
41 ondrop="onPaletteDrop(event)"/> |
|
42 |
|
43 <box align="center"> |
|
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;"/> |
|
50 </menupopup> |
|
51 </menulist> |
|
52 |
|
53 <checkbox id="smallicons" oncommand="updateIconSize(this.checked ? 'small' : 'large');" label="&useSmallIcons.label;"/> |
|
54 |
|
55 <button id="newtoolbar" label="&addNewToolbar.label;" oncommand="addNewToolbar();" icon="add"/> |
|
56 <button id="restoreDefault" label="&restoreDefaultSet.label;" oncommand="restoreDefaultSet();" icon="revert"/> |
|
57 </box> |
|
58 |
|
59 <separator class="groove"/> |
|
60 |
|
61 <hbox align="center" pack="end"> |
|
62 <button id="donebutton" label="&saveChanges.label;" oncommand="onClose();" |
|
63 default="true" icon="close"/> |
|
64 </hbox> |
|
65 </vbox> |
|
66 |
|
67 </window> |