gecko-dev/suite/common/pref/pref-debug.xul
blakeross%telocity.com bce1b3b905 114258 - pref panel header binding, dialogoverlay.css shouldn't have to be included in each panel. r=ben sr=hewitt
114268 - unnecessarily setting localname attribute on all pref-based elements when loading pref panels. r=ben sr=hewitt
2006-05-17 02:31:51 +00:00

94 lines
3.6 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):
-->
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref-debug.dtd" >
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="parent.initPanel('chrome://communicator/content/pref/pref-debug.xul');"
headertitle="&lHeader;">
<script type="application/x-javascript">
<![CDATA[
var _elementIDs = ["nglayoutDebugWindow",
"debugXULBoxes", "browserDOMWindowDumpEnabled",
"javascriptOptionsStrict", "nglayoutDebugUseXBLForms",
"nglayoutDebugEnableXPCOMRefcntLog", "showAboutAsStupidModalWindow",
"acceleratorKeyValue", "menuAccessKeyValue"];
]]>
</script>
<groupbox align="start">
<caption label="&widgetRendering.label;"/>
<checkbox id="nglayoutDebugWindow" label="&debugWindow.label;"
prefstring="nglayout.widget.debugWindow"/>
<checkbox id="debugXULBoxes" label="&debugXULBox.label;"
prefstring="xul.debug.box"/>
</groupbox>
<!-- nothing on this page has accesskeys because this is a temporary debug
panel and you can damn well click the widgets! -->
<groupbox align="start">
<caption label="&debugMiscellaneous.label;"/>
<checkbox id="browserDOMWindowDumpEnabled" label="&debugEnableDump.label;"
prefstring="browser.dom.window.dump.enabled"/>
<checkbox id="javascriptOptionsStrict" label="&debugStrictJavascript.label;"
prefstring="javascript.options.strict"/>
<checkbox id="nglayoutDebugUseXBLForms" label="&debugUseXBLForms.label;"
prefstring="nglayout.debug.enable_xbl_forms"/>
<checkbox id="nglayoutDebugEnableXPCOMRefcntLog" label="&debugEnableXPCOMRefcntLog.label;"
prefstring="nglayout.debug.enable_xpcom_refcnt_log"/>
<checkbox id="showAboutAsStupidModalWindow" label="&debugShowAboutAsModal.label;"
prefstring="browser.show_about_as_stupid_modal_window"/>
</groupbox>
<groupbox>
<caption label="&accelerators.label;"/>
<description value="&acceleratorsBlurb.label;"/>
<grid flex="1">
<columns>
<column/>
<column/>
</columns>
<rows>
<row align="center">
<label value="&acceleratorKey.label;" for="acceleratorKeyValue"/>
<textbox id="acceleratorKeyValue" preftype="int"
prefstring="ui.key.accelKey" size="5"/>
</row>
<row align="center">
<label value="&menuAccessKey.label;" control="menuAccessKeyValue"/>
<textbox id="menuAccessKeyValue" preftype="int"
prefstring="ui.key.menuAccessKey" size="5"/>
</row>
</rows>
</grid>
</groupbox>
</page>