Mozilla/mozilla/browser/base/content/customizeToolbar.xul
blakeross%telocity.com 8f1a1b9283 Comment and clean up the code. Readd flex/width when moving the item back to the palette to ensure proper spacing.
git-svn-id: svn://10.0.0.236/trunk@126611 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 05:27:00 +00:00

84 lines
2.7 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>
<menupopup>
<menuitem label="&iconsAndText.label;"/>
<menuitem label="&icons.label;"/>
<menuitem label="&text.label;"/>
</menupopup>
</menulist>
<checkbox label="&useSmallIcons.label;"/>
<button label="&restoreDefaultSet.label;" oncommand="resetToDefault()"/>
</box>
<separator class="groove"/>
</dialog>