<?xml version="1.0"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.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">

  <preferences id="appearance_preferences">
    <preference id="general.startup.editor"
                name="general.startup.editor"
                type="bool"/>
  </preferences>

  <!-- editor startup toggle -->
  <groupbox id="generalStartupPreferences">
    <checkbox id="generalStartupEditor"
              insertafter="generalStartupMail,generalStartupBrowser"
              label="&editorCheck.label;"
              accesskey="&editorCheck.accesskey;"
              preference="general.startup.editor"/>
  </groupbox>
  <!-- category tree entries for editor -->
  <treechildren id="prefsPanelChildren">
    <treeitem container="true"
              id="composerItem"
              insertbefore="securityItem"
              label="&compose.label;"
              prefpane="composer_pane"
              url="chrome://editor/content/pref-composer.xul"
              helpTopic="composer_prefs_general">
      <treechildren id="composerChildren">
        <treeitem id="editingItem"
                  label="&editing.label;"
                  prefpane="editing_pane"
                  url="chrome://editor/content/pref-editing.xul"
                  helpTopic="composer_prefs_newpage"/>
        <treeitem id="toolbarsItem"
                  label="&toolbars.label;"
                  prefpane="toolbars_pane"
                  url="chrome://editor/content/pref-toolbars.xul"
                  helpTopic="composer_prefs_toolbars"/>
      </treechildren>
    </treeitem>
  </treechildren>

</overlay>         
