RetroZilla/mailnews/compose/resources/content/mailComposeBindings.xml
2015-10-20 23:03:22 -04:00

31 lines
1.2 KiB
XML

<?xml version="1.0"?>
<bindings id="mailComposeBindings"
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="fromMenuitem" extends="chrome://global/content/bindings/menu.xml#menuitem">
<content autostretch="never" excludes="template,observes,menupopup">
<xul:label class="composemenu-text" xbl:inherits="value=label,accesskey,crop"
crop="right"/>
<xul:label class="composemenu-text-2" xbl:inherits="value=accountname"
crop="right"/>
</content>
</binding>
<binding id="fromMenuList" display="xul:menu" extends="chrome://global/content/bindings/menulist.xml#menulist">
<content sizetopopup="pref">
<xul:hbox class="menulist-label-box" flex="1">
<xul:image class="menulist-icon" xbl:inherits="src"/>
<xul:label class="menulist-label" xbl:inherits="value=label,crop,accesskey" crop="right" flex="1"/>
<xul:label class="composemenu-text-2" xbl:inherits="value=accountname" crop="right" flex="100"/>
</xul:hbox>
<xul:dropmarker class="menulist-dropmarker" type="menu"/>
<children includes="menupopup"/>
</content>
</binding>
</bindings>