зеркало из https://github.com/mozilla/gecko-dev.git
Backout ben's erronous checkin. bug #69366
This commit is contained in:
Родитель
df58f9f45c
Коммит
8a31ea3fcb
|
@ -1,78 +1 @@
|
||||||
<?xml version="1.0"?>
|
Makefile
|
||||||
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
|
||||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
|
||||||
|
|
||||||
<!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref-smartupdate.dtd" >
|
|
||||||
|
|
||||||
<window xmlns:html="http://www.w3.org/1999/xhtml"
|
|
||||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
||||||
class="color-dialog"
|
|
||||||
align="vertical"
|
|
||||||
title="&title.label;"
|
|
||||||
onload="parent.initPanel('chrome://communicator/content/pref/pref-smartupdate.xul');">
|
|
||||||
|
|
||||||
<script language="JavaScript">
|
|
||||||
var _elementIDs;
|
|
||||||
<![CDATA[
|
|
||||||
_elementIDs = ["XPInstallEnabled"];
|
|
||||||
]]>
|
|
||||||
</script>
|
|
||||||
|
|
||||||
|
|
||||||
<box class="box-smallheader" title="&lHeader;"/>
|
|
||||||
|
|
||||||
<titledbox orient="vertical" autostretch="never">
|
|
||||||
<title><text value="&smartTitle.label;"/></title>
|
|
||||||
<checkbox id="XPInstallEnabled" value="&enableSU.label;" accesskey="&enableSU.accesskey;"
|
|
||||||
pref="true" preftype="bool" prefstring="xpinstall.enabled"
|
|
||||||
prefattribute="checked"/>
|
|
||||||
</titledbox>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
<titledbox orient="vertical" autostretch="never">
|
|
||||||
<title><text value="Installed Packages"/></title>
|
|
||||||
|
|
||||||
<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 value="Install Package" oncommand="InstallPackage();"/>
|
|
||||||
</titledbox>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!--
|
|
||||||
<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%;">
|
|
||||||
<treecolgroup>
|
|
||||||
<treecol flex="1"/>
|
|
||||||
</treecolgroup>
|
|
||||||
<treechildren flex="1">
|
|
||||||
<treeitem>
|
|
||||||
<treerow>
|
|
||||||
<treeitem/>
|
|
||||||
</treerow>
|
|
||||||
</treeitem>
|
|
||||||
</treechildren>
|
|
||||||
</tree>
|
|
||||||
<spring flex="5%"/>
|
|
||||||
<box align="vertical">
|
|
||||||
<button class="dialog push" id="pref:0:bool:smartupdate" value="&uninstallButton.label;" accesskey="&uninstallButton.accesskey;"/>
|
|
||||||
<spring flex="100%"/>
|
|
||||||
</box>
|
|
||||||
</box>
|
|
||||||
<spring style="height: 28px;"/>
|
|
||||||
</html:fieldset>
|
|
||||||
-->
|
|
||||||
</window>
|
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче