gecko-dev/toolkit/mozapps/extensions/content/xpinstallItem.xml
Dave Townsend 0eaaa1e2e0 Bug 652376: Migrate XPInstall dialog into the extensions directory. r=robstrong
--HG--
rename : toolkit/locales/en-US/chrome/mozapps/xpinstall/xpinstallConfirm.dtd => toolkit/locales/en-US/chrome/mozapps/extensions/xpinstallConfirm.dtd
rename : toolkit/locales/en-US/chrome/mozapps/xpinstall/xpinstallConfirm.properties => toolkit/locales/en-US/chrome/mozapps/extensions/xpinstallConfirm.properties
rename : toolkit/mozapps/xpinstall/content/xpinstallConfirm.css => toolkit/mozapps/extensions/content/xpinstallConfirm.css
rename : toolkit/mozapps/xpinstall/content/xpinstallConfirm.js => toolkit/mozapps/extensions/content/xpinstallConfirm.js
rename : toolkit/mozapps/xpinstall/content/xpinstallConfirm.xul => toolkit/mozapps/extensions/content/xpinstallConfirm.xul
rename : toolkit/mozapps/xpinstall/content/xpinstallItem.xml => toolkit/mozapps/extensions/content/xpinstallItem.xml
rename : toolkit/themes/pinstripe/mozapps/xpinstall/xpinstallConfirm.css => toolkit/themes/pinstripe/mozapps/extensions/xpinstallConfirm.css
rename : toolkit/themes/winstripe/mozapps/xpinstall/xpinstallConfirm.css => toolkit/themes/winstripe/mozapps/extensions/xpinstallConfirm.css
2011-11-23 15:04:56 -08:00

48 lines
2.2 KiB
XML

<?xml version="1.0"?>
<!DOCTYPE bindings SYSTEM "chrome://mozapps/locale/xpinstall/xpinstallConfirm.dtd">
<bindings id="xpinstallItemBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="installitem">
<resources>
<stylesheet src="chrome://mozapps/skin/xpinstall/xpinstallConfirm.css"/>
</resources>
<content>
<xul:hbox flex="1">
<xul:vbox align="center" pack="center" class="xpinstallIconContainer">
<xul:image class="xpinstallItemIcon" xbl:inherits="src=icon"/>
</xul:vbox>
<xul:vbox flex="1" pack="center">
<xul:hbox class="xpinstallItemNameRow" align="center">
<xul:label class="xpinstallItemName" xbl:inherits="value=name" crop="right"/>
<xul:label class="xpinstallItemSigned" xbl:inherits="value=cert,signed"/>
</xul:hbox>
<xul:hbox class="xpinstallItemDetailsRow" align="center">
<xul:textbox class="xpinstallItemURL" xbl:inherits="value=url" flex="1" readonly="true" crop="right"/>
</xul:hbox>
</xul:vbox>
</xul:hbox>
</content>
<implementation>
<property name="name" onset="this.setAttribute('name', val); return val;"
onget="return this.getAttribute('name');"/>
<property name="cert" onset="this.setAttribute('cert', val); return val;"
onget="return this.getAttribute('cert');"/>
<property name="signed" onset="this.setAttribute('signed', val); return val;"
onget="return this.getAttribute('signed');"/>
<property name="url" onset="this.setAttribute('url', val); return val;"
onget="return this.getAttribute('url');"/>
<property name="icon" onset="this.setAttribute('icon', val); return val;"
onget="return this.getAttribute('icon');"/>
<property name="type" onset="this.setAttribute('type', val); return val;"
onget="return this.getAttribute('type');"/>
</implementation>
</binding>
</bindings>