RetroZilla/editor/ui/composer/content/editorPrefsOverlay.xul
2015-10-20 23:03:22 -04:00

64 lines
1.9 KiB
XML

<?xml version="1.0"?>
<!DOCTYPE overlay [
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
%brandDTD;
<!ENTITY % editorPrefsOverlayDTD SYSTEM "chrome://editor/locale/editorPrefsOverlay.dtd" >
%editorPrefsOverlayDTD;
]>
<overlay id="editorPrefsOverlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/x-javascript">
<![CDATA[
var panel;
if (panel != undefined) {
switch(panel)
{
case "chrome://communicator/content/pref/pref-appearance.xul":
_elementIDs.push("generalStartupEditor");
break;
}
}
]]>
</script>
<!-- editor startup toggle -->
<groupbox id="generalStartupPreferences">
<checkbox id="generalStartupEditor" wsm_persist="true" position="3"
label="&editorCheck.label;" accesskey="&editorCheck.accesskey;"
pref="true" preftype="bool" prefstring="general.startup.editor"
prefattribute="checked"/>
</groupbox>
<!-- category tree entries for editor -->
<treechildren id="panelChildren">
<treeitem container="true" id="editor" position="3">
<treerow>
<treecell url="chrome://editor/content/pref-composer.xul" label="&compose.label;" />
</treerow>
<treechildren>
<treeitem>
<treerow>
<treecell url="chrome://editor/content/pref-editing.xul" label="&editing.label;"/>
</treerow>
</treeitem>
<!--
<treeitem>
<treerow>
<treecell url="chrome://editor/content/pref-publish.xul" label="&publish.label;"/>
</treerow>
</treeitem>
-->
<treeitem>
<treerow>
<treecell url="chrome://editor/content/pref-toolbars.xul" label="&toolbars.label;"/>
</treerow>
</treeitem>
</treechildren>
</treeitem>
</treechildren>
</overlay>