1999-06-04 23:28:56 +00:00
|
|
|
<?xml version="1.0"?>
|
2006-05-17 02:24:37 +00:00
|
|
|
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
2006-05-17 02:24:52 +00:00
|
|
|
|
2006-05-17 02:24:35 +00:00
|
|
|
<?xul-overlay href="chrome://communicator/content/pref/preftree.xul"?>
|
2006-05-17 02:22:45 +00:00
|
|
|
|
2006-05-17 02:24:35 +00:00
|
|
|
<!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref.dtd" >
|
1999-10-30 00:14:52 +00:00
|
|
|
|
2006-05-17 02:29:49 +00:00
|
|
|
|
|
|
|
<!-- This dialog has a fixed size and is not resizable.
|
|
|
|
You MAY NOT increase the size of this dialog.
|
|
|
|
Questions, Comments -> ben@netscape.com -->
|
2006-05-17 02:30:48 +00:00
|
|
|
<dialog id="prefDialog"
|
2006-05-17 02:24:52 +00:00
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
2006-05-17 02:25:36 +00:00
|
|
|
title="&prefWindow.title;"
|
2006-05-17 02:30:25 +00:00
|
|
|
style="&prefWindow.size;"
|
2006-05-17 02:30:26 +00:00
|
|
|
windowtype="mozilla:preferences"
|
2006-05-17 02:30:48 +00:00
|
|
|
buttons="accept,cancel,help"
|
2006-05-17 02:29:52 +00:00
|
|
|
onload="Startup();"
|
2006-05-17 02:30:48 +00:00
|
|
|
ondialogaccept="return hPrefWindow.onOK(event);"
|
|
|
|
ondialogcancel="return hPrefWindow.onCancel(event);"
|
|
|
|
ondialoghelp="return doHelpButton(event)"
|
2006-05-17 02:29:52 +00:00
|
|
|
persist="screenX screenY">
|
2006-05-17 02:24:52 +00:00
|
|
|
|
2006-05-17 02:25:11 +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";
|
2006-05-17 02:25:39 +00:00
|
|
|
|
2006-05-17 02:26:17 +00:00
|
|
|
hPrefWindow.init();
|
|
|
|
|
2006-05-17 02:26:16 +00:00
|
|
|
// If this call worked, we could center the window here:
|
|
|
|
// centerWindowOnScreen();
|
2006-05-17 02:25:11 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
]]>
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
2006-05-17 02:28:42 +00:00
|
|
|
<script type="application/x-javascript" src="chrome://global/content/nsWidgetStateManager.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://communicator/content/pref/nsPrefWindow.js"/>
|
2006-05-17 02:29:56 +00:00
|
|
|
<script type="application/x-javascript" src="chrome://communicator/content/pref/pref-help.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://help/content/help.js"/>
|
1999-12-23 21:38:25 +00:00
|
|
|
|
2006-05-17 02:29:49 +00:00
|
|
|
<hbox flex="1">
|
2006-05-17 02:31:51 +00:00
|
|
|
<vbox>
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2006-05-17 02:31:28 +00:00
|
|
|
<label value="&categoryHeader;"/>
|
2006-05-17 02:29:49 +00:00
|
|
|
<!-- tree sidebar -->
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2006-05-17 02:32:00 +00:00
|
|
|
<tree id="prefsTree" style="width: 13em;" flex="1"/>
|
2006-05-17 02:29:49 +00:00
|
|
|
</vbox>
|
2006-05-17 02:31:51 +00:00
|
|
|
<vbox flex="1">
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2006-05-17 02:32:00 +00:00
|
|
|
<dialogheader id="header"/>
|
|
|
|
<iframe id="panelFrame" name="panelFrame" style="width: 0px" flex="1"/>
|
2006-05-17 02:31:51 +00:00
|
|
|
</vbox>
|
2006-05-17 02:30:36 +00:00
|
|
|
</hbox>
|
|
|
|
|
|
|
|
<script type="application/x-javascript">
|
2006-05-17 02:23:38 +00:00
|
|
|
<![CDATA[
|
2006-05-17 02:30:36 +00:00
|
|
|
if(window.arguments && window.arguments[0]) {
|
2006-05-17 02:22:51 +00:00
|
|
|
document.getElementById("panelFrame").setAttribute("src", window.arguments[0] );
|
2006-05-17 02:24:52 +00:00
|
|
|
document.getElementById("panelFrame").setAttribute("tag", window.arguments[0] );
|
2006-05-17 02:23:39 +00:00
|
|
|
}
|
|
|
|
else {
|
2006-05-17 02:24:35 +00:00
|
|
|
document.getElementById("panelFrame").setAttribute("src", "chrome://communicator/content/pref/pref-navigator.xul" );
|
2006-05-17 02:24:52 +00:00
|
|
|
document.getElementById("panelFrame").setAttribute("tag", "chrome://communicator/content/pref/pref-navigator.xul" );
|
2006-05-17 02:23:39 +00:00
|
|
|
}
|
2006-05-17 02:23:38 +00:00
|
|
|
]]>
|
2006-05-17 02:23:40 +00:00
|
|
|
</script>
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2006-05-17 02:32:00 +00:00
|
|
|
|
|
|
|
<separator/>
|
|
|
|
|
2006-05-17 02:30:48 +00:00
|
|
|
</dialog>
|