<?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"?>
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>

<!DOCTYPE window [
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
%brandDTD;
<!ENTITY % prefAppearanceDTD SYSTEM "chrome://communicator/locale/pref/pref-appearance.dtd" >
%prefAppearanceDTD;
]>
<window xmlns:html="http://www.w3.org/TR/REC-html40"
    		xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        class="color-dialog"
    		orient="vertical"
  		  onload="parent.initPanel('chrome://communicator/content/pref/pref-appearance.xul');">

  <script language="JavaScript">
  <![CDATA[
    // the first elements in this array will be poked from chromeregistry loaded
    // overlays once overlays.rdf works properly 
    _elementIDs = ["generalStartupBrowser", "generalStartupMail", "generalStartupEditor", /*"toolbarStyle" */];
  ]]>
  </script>
          
  <box class="box-smallheader" title="&lHeader;"/>

  <titledbox id="generalStartupPreferences" orient="vertical" autostretch="never">
    <title><text value="&onStartLegend.label;"/></title>
    
    <!-- XXX remove when navigator overlays.rdf works -->
    <checkbox id="generalStartupBrowser" wsm_persist="true"
              value="&navCheck.label;" accesskey="&navCheck.accesskey;"
              pref="true" preftype="bool" prefstring="general.startup.browser"
              prefattribute="checked"/>
    <!-- XXX -->

    <!-- XXX remove when mailnews overlays.rdf works -->
    <checkbox id="generalStartupMail" wsm_persist="true" position="2"
              value="&mesCheck.label;" accesskey="&mesCheck.accesskey;"
              pref="true" preftype="bool" prefstring="general.startup.mail"
              prefattribute="checked"/>         
    <!-- XXX -->    

    <!-- XXX remove when editor overlays.rdf works -->
    <checkbox id="generalStartupEditor" wsm_persist="true"
              value="&compCheck.label;" accesskey="&compCheck.accesskey;"
              pref="true" preftype="bool" prefstring="general.startup.editor"
              prefattribute="checked"/>
    <!-- XXX -->
    
  </titledbox>
  
  <!-- displaying none for beta -->
  <titledbox id="toolbarStyleBox" orient="vertical" style="display: none;">
  	<title><text value="&showToolsLegend.label;"/></title>
    <radiogroup id="toolbarStyle" orient="vertical" autostretch="never"
                pref="true" preftype="int" prefstring="browser.chrome.toolbar_style"
                prefattribute="data" wsm_persist="true">
      <radio group="toolbarStyle" data="2" value="&picsNtextRadio.label;" accesskey="&picsNtextRadio.accesskey;"/>
      <radio group="toolbarStyle" data="0" value="&picsOnlyRadio.label;" accesskey="&picsOnlyRadio.accesskey;"/>
      <radio group="toolbarStyle" data="1" value="&textonlyRadio.label;" accesskey="&textonlyRadio.accesskey;"/>
    </radiogroup>
  </titledbox>

</window>
