mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 12:15:51 +00:00
84 lines
2.9 KiB
XML
84 lines
2.9 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<!--
|
|
The contents of this file are subject to the Netscape Public
|
|
License Version 1.1 (the "License"); you may not use this file
|
|
except in compliance with the License. You may obtain a copy of
|
|
the License at http://www.mozilla.org/NPL/
|
|
|
|
Software distributed under the License is distributed on an "AS
|
|
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
implied. See the License for the specific language governing
|
|
rights and limitations under the License.
|
|
|
|
The Original Code is Mozilla Communicator client code, released
|
|
March 31, 1998.
|
|
|
|
The Initial Developer of the Original Code is Netscape
|
|
Communications Corporation. Portions created by Netscape are
|
|
Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
|
Rights Reserved.
|
|
|
|
Contributor(s):
|
|
David Hyatt (hyatt@apple.com)
|
|
Blake Ross (blaker@netscape.com)
|
|
-->
|
|
|
|
<!DOCTYPE dialog [
|
|
<!ENTITY % customizeToolbarDTD SYSTEM "chrome://browser/locale/customizeToolbar.dtd">
|
|
%customizeToolbarDTD;
|
|
]>
|
|
|
|
<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://browser/content/customizeToolbar.css" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://browser/skin/customizeToolbar.css" type="text/css"?>
|
|
|
|
<dialog id="main-window"
|
|
title="&window.title;"
|
|
onload="buildDialog()"
|
|
ondialogaccept="updateToolbar()"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
width="700" height="465">
|
|
|
|
<script type="application/x-javascript" src="chrome://browser/content/customizeToolbar.js"/>
|
|
<script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js"/>
|
|
<script type="application/x-javascript" src="chrome://global/content/nsTransferable.js"/>
|
|
|
|
<description>
|
|
&removeinstructions.description;
|
|
</description>
|
|
|
|
<toolbox id="cloned-bar-container"
|
|
ondragover="nsDragAndDrop.dragOver(event, toolbarDNDObserver)"
|
|
ondragdrop="nsDragAndDrop.drop(event, toolbarDNDObserver);"
|
|
ondragexit="gCurrentDragOverItem.removeAttribute('dragactive');"/>
|
|
|
|
<separator class="groove"/>
|
|
|
|
<description>
|
|
&instructions.description;
|
|
</description>
|
|
|
|
<vbox flex="1" id="palette-box"
|
|
ondragover="nsDragAndDrop.dragOver(event, paletteDNDObserver);"
|
|
ondragdrop="nsDragAndDrop.drop(event, paletteDNDObserver);"/>
|
|
|
|
<separator class="groove"/>
|
|
|
|
<box align="center">
|
|
<label value="&show.label;"/>
|
|
<menulist id="modelist" oncommand="updateToolbarMode(this.value)">
|
|
<menupopup>
|
|
<menuitem value="full" label="&iconsAndText.label;"/>
|
|
<menuitem value="icons" label="&icons.label;"/>
|
|
<menuitem value="text" label="&text.label;"/>
|
|
</menupopup>
|
|
</menulist>
|
|
<checkbox id="smallicons" oncommand="updateIconSize(this.checked);" label="&useSmallIcons.label;"/>
|
|
<button label="&restoreDefaultSet.label;" oncommand="resetToDefault()"/>
|
|
</box>
|
|
|
|
<separator class="groove"/>
|
|
|
|
</dialog>
|