<?xml version="1.0"?> 
<?xml-stylesheet href="chrome://pref/skin/" type="text/css"?> 

<!DOCTYPE window SYSTEM "chrome://pref/locale/pref-smartupdate.dtd" >
 
<window xmlns:html="http://www.w3.org/TR/REC-html40"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        class="dialog"
        align="vertical" 
        title="&title.label;"
  		  onload="if( parent.handle ) parent.handle.onpageload( 'pref-smartupdate' ); else parent.queuedTag = 'pref-smartupdate';">

	<box class="header" align="horizontal">  
    <titledbutton class="left-header-text" value="&lHeader;"/>
	  <spring class="header-spring" flex="1"/>
	  <titledbutton class="right-header-text" value="&rHeader;"/>
	</box>
    
  <html:fieldset style="width: 100%;">
    <html:div class="hspace-both">
      <html:input type="checkbox" id="XPInstallEnabled"
                  pref="true" preftype="bool" prefstring="xpinstall.enabled" />
      <html:label for="XPInstallEnabled">&enableSU.label;</html:label>
    </html:div>
    <html:div class="hspace-both">
      <html:input type="checkbox" id="XPInstallNotificationsEnabled"
                  pref="true" preftype="bool" prefstring="xpinstall.notifications.enabled"/>
      <html:label for="XPInstallNotificationsEnabled">&enableNotification.label;</html:label>
    </html:div>
    <html:div class="hspace-both">
      <html:input type="checkbox" id="XPInstallManualConfirm"
                  pref="true" preftype="bool" prefstring="xpinstall.manual_confirm"/>
      <html:label for="XPInstallManualConfirm">&requireConfirmation.label;</html:label>
    </html:div>
  </html:fieldset>

  <html:fieldset style="width: 100%; height: 100%">
    <html:div class="hspace-both">&selectUninstall.label;</html:div>
    <box class="hspace-both vspace" align="horizontal" flex="100%" style="width: 93%; height: 100%">
      <tree id="smartUpdatePackages" class="inset" flex="100%" style="height: 40%;">
        <treecol/>
        <treechildren>
          <treeitem>
            <treerow>
              <treeitem/>
            </treerow>
          </treeitem>
        </treechildren>
      </tree>
      <spring flex="5%"/>
      <box align="vertical">
        <titledbutton class="dialog push" id="pref:0:bool:smartupdate" value="&uninstallButton.label;"/>
        <spring flex="100%"/>
      </box>
    </box>
    <spring style="height: 28px;"/>
  </html:fieldset>
</window>

