1999-06-04 23:28:56 +00:00
|
|
|
<?xml version="1.0"?>
|
2000-04-21 09:40:38 +00:00
|
|
|
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
2000-04-25 02:17:38 +00:00
|
|
|
|
|
|
|
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
2000-04-19 21:42:30 +00:00
|
|
|
<?xul-overlay href="chrome://communicator/content/pref/preftree.xul"?>
|
2000-01-07 06:52:11 +00:00
|
|
|
|
2000-04-19 21:42:30 +00:00
|
|
|
<!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref.dtd" >
|
1999-10-30 00:14:52 +00:00
|
|
|
|
2000-04-25 02:17:38 +00:00
|
|
|
<window id="prefWindow"
|
2000-06-15 09:54:41 +00:00
|
|
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
2000-04-25 02:17:38 +00:00
|
|
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
2000-05-14 02:54:49 +00:00
|
|
|
title="&prefWindow.title;"
|
2000-04-25 02:17:38 +00:00
|
|
|
orient="vertical"
|
|
|
|
class="dialog"
|
|
|
|
persist="screenX screenY width height"
|
|
|
|
screenX="24" screenY="24"
|
2000-05-04 04:31:12 +00:00
|
|
|
onload="Startup();"
|
2000-04-25 02:17:38 +00:00
|
|
|
width="620" height="470">
|
|
|
|
|
2000-05-04 04:31:12 +00:00
|
|
|
<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";
|
2000-05-26 03:13:11 +00:00
|
|
|
|
2000-06-22 08:43:41 +00:00
|
|
|
hPrefWindow.init();
|
|
|
|
|
2000-06-22 06:03:02 +00:00
|
|
|
// If this call worked, we could center the window here:
|
|
|
|
// centerWindowOnScreen();
|
2000-05-04 04:31:12 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
]]>
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
2000-04-25 02:17:38 +00:00
|
|
|
<script language="javascript" src="chrome://global/content/nsWidgetStateManager.js"></script>
|
|
|
|
<script language="javascript" src="chrome://communicator/content/pref/nsPrefWindow.js"></script>
|
1999-12-23 21:38:25 +00:00
|
|
|
|
2000-01-07 06:52:11 +00:00
|
|
|
<keyset id="keyset"/>
|
1999-10-30 00:14:52 +00:00
|
|
|
|
2000-03-29 03:25:58 +00:00
|
|
|
<box flex="1">
|
2000-01-07 06:52:11 +00:00
|
|
|
<!-- tree sidebar -->
|
2000-06-19 23:51:17 +00:00
|
|
|
<tree class="inset" id="prefsTree" style="width: 0px" flex="3"/>
|
2000-03-29 03:25:58 +00:00
|
|
|
|
2000-06-17 03:26:47 +00:00
|
|
|
<iframe id="panelFrame" name="panelFrame" style="width:0px" flex="7"/>
|
2000-04-25 02:17:38 +00:00
|
|
|
<script language="JavaScript">
|
2000-01-26 01:59:40 +00:00
|
|
|
<![CDATA[
|
2000-01-26 03:03:37 +00:00
|
|
|
if( window.arguments && window.arguments[0] ) {
|
2000-01-07 10:11:09 +00:00
|
|
|
document.getElementById("panelFrame").setAttribute("src", window.arguments[0] );
|
2000-04-25 02:17:38 +00:00
|
|
|
document.getElementById("panelFrame").setAttribute("tag", window.arguments[0] );
|
2000-01-26 03:03:37 +00:00
|
|
|
}
|
|
|
|
else {
|
2000-04-19 21:42:30 +00:00
|
|
|
document.getElementById("panelFrame").setAttribute("src", "chrome://communicator/content/pref/pref-navigator.xul" );
|
2000-04-25 02:17:38 +00:00
|
|
|
document.getElementById("panelFrame").setAttribute("tag", "chrome://communicator/content/pref/pref-navigator.xul" );
|
2000-01-26 03:03:37 +00:00
|
|
|
}
|
2000-01-26 01:59:40 +00:00
|
|
|
]]>
|
2000-03-29 03:25:58 +00:00
|
|
|
</script>
|
2000-01-07 06:52:11 +00:00
|
|
|
</box>
|
2000-03-29 03:25:58 +00:00
|
|
|
|
2000-08-23 04:41:52 +00:00
|
|
|
<separator/>
|
2000-03-29 03:25:58 +00:00
|
|
|
|
2000-04-25 02:17:38 +00:00
|
|
|
<box id="okCancelButtonsRight" />
|
1999-10-30 00:14:52 +00:00
|
|
|
|
|
|
|
</window>
|