gecko-dev/suite/common/pref/pref-smartupdate.xul

70 lines
2.2 KiB
Plaintext
Raw Normal View History

1999-08-11 00:32:22 +00:00
<?xml version="1.0"?>
2006-05-17 02:24:36 +00:00
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
1999-08-11 00:32:22 +00:00
2006-05-17 02:24:35 +00:00
<!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref-smartupdate.dtd" >
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="parent.initPanel('chrome://communicator/content/pref/pref-smartupdate.xul');"
headertitle="&lHeader;">
2006-05-17 02:24:52 +00:00
<script type="application/x-javascript">
2006-05-17 02:24:52 +00:00
<![CDATA[
var _elementIDs = ["XPInstallEnabled"];
2006-05-17 02:24:52 +00:00
]]>
</script>
<groupbox align="start">
<caption label="&smartTitle.label;"/>
<checkbox id="XPInstallEnabled" label="&enableSU.label;" accesskey="&enableSU.accesskey;"
prefstring="xpinstall.enabled"/>
</groupbox>
1999-08-11 00:32:22 +00:00
2006-05-17 02:26:46 +00:00
<!--
<groupbox align="start">
<caption label="Installed Packages"/>
<script>
<![CDATA[
function InstallPackage()
{
var chromeRegistry = Components.classes["@mozilla.org/chrome/chrome-registry;1"].getService();
if ( chromeRegistry )
chromeRegistry = chromeRegistry.QueryInterface( Components.interfaces.nsIChromeRegistry );
var packageURI = prompt('give the resource uri of the package to install','');
if (packageURI)
chromeRegistry.installPackage(packageURI, false);
}
]]>
</script>
<button label="Install Package" oncommand="InstallPackage();"/>
</groupbox>
2006-05-17 02:26:46 +00:00
-->
2006-05-17 02:23:00 +00:00
<!--
2006-05-17 02:22:58 +00:00
<html:fieldset style="width: 100%; height: 100%">
<html:div class="hspace-both">&selectUninstall.label;</html:div>
<hbox class="hspace-both vspace" flex="100%" style="width: 93%; height: 100%">
<tree id="smartUpdatePackages" flex="100%" style="height: 40%;">
<treecolgroup>
<treecol flex="1"/>
</treecolgroup>
<treechildren flex="1">
2006-05-17 02:22:58 +00:00
<treeitem>
<treerow>
<treeitem/>
</treerow>
</treeitem>
</treechildren>
</tree>
<spacer flex="5%"/>
<vbox>
<button class="push" id="pref:0:bool:smartupdate" label="&uninstallButton.label;" accesskey="&uninstallButton.accesskey;"/>
<spacer flex="100%"/>
</vbox>
</hbox>
<spacer style="height: 28px;"/>
</html:fieldset>
2006-05-17 02:23:00 +00:00
-->
</page>
1999-08-11 00:32:22 +00:00