gecko-dev/xpfe/components/prefwindow/resources/content/pref.xul
timeless%mac.com 1fdeed80f7 Bugzilla Bug 70857 [XUL Syntax] Replace <boxDerivedTag align="horizontal|vertical"> with
<boxDerivedTag orient="horizontal|vertical">
patch by andersma@luther.edu r=timeless sr=blake
2001-07-09 18:41:07 +00:00

84 lines
2.7 KiB
XML

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
<?xul-overlay href="chrome://communicator/content/pref/preftree.xul"?>
<!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref.dtd" >
<!-- This dialog has a fixed size and is not resizable.
You MAY NOT increase the size of this dialog.
Questions, Comments -> ben@netscape.com -->
<window id="prefDialog"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="&prefWindow.title;"
orient="vertical" class="dialog"
style="&prefWindow.size;"
windowtype="mozilla:preferences"
onload="Startup();"
persist="screenX screenY">
<script>
<![CDATA[
var hPrefWindow = null;
/** General startup routine for preferences dialog.
* Place all necessary modifications to pref tree here.
**/
function Startup()
{
hPrefWindow = new nsPrefWindow('panelFrame');
if( !hPrefWindow )
throw "failed to create prefwindow";
hPrefWindow.init();
// If this call worked, we could center the window here:
// centerWindowOnScreen();
}
]]>
</script>
<script type="application/x-javascript" src="chrome://global/content/nsWidgetStateManager.js"/>
<script type="application/x-javascript" src="chrome://communicator/content/pref/nsPrefWindow.js"/>
<script type="application/x-javascript" src="chrome://communicator/content/pref/pref-help.js"/>
<script type="application/x-javascript" src="chrome://help/content/help.js"/>
<keyset id="dialogKeys"/>
<hbox flex="1">
<vbox flex="19">
<text class="label" value="&categoryHeader;"/>
<!-- tree sidebar -->
<tree class="inset" id="prefsTree" style="width: 0px" flex="1"/>
</vbox>
<iframe id="panelFrame" name="panelFrame" style="width:0px" flex="81"/>
<script type="application/x-javascript">
<![CDATA[
if( window.arguments && window.arguments[0] ) {
document.getElementById("panelFrame").setAttribute("src", window.arguments[0] );
document.getElementById("panelFrame").setAttribute("tag", window.arguments[0] );
}
else {
document.getElementById("panelFrame").setAttribute("src", "chrome://communicator/content/pref/pref-navigator.xul" );
document.getElementById("panelFrame").setAttribute("tag", "chrome://communicator/content/pref/pref-navigator.xul" );
}
]]>
</script>
</hbox>
<separator/>
<hbox id="okCancelHelpButtonsRight" />
</window>