pjs/editor/ui/composer/content/editorPrefsOverlay.xul

65 строки
2.0 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"
insertafter="generalStartupMail,generalStartupBrowser"
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" insertafter="mailnews,navigator">
<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>