mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 02:57:38 +00:00
42 lines
1.9 KiB
XML
42 lines
1.9 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<bindings id="menuButtonToolbarBindings"
|
|
xmlns="http://www.mozilla.org/xbl"
|
|
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
|
|
<binding id="menubutton-toolbar-top">
|
|
<content includes="menupopup">
|
|
<xul:box class="classic-simplebutton-box" autostretch="never" flex="1">
|
|
<xul:button class="classic-simplebutton" allowevents="true" flex="1"
|
|
inherits="value,src,accesskey,crop,disabled,oncommand=buttonaction"
|
|
onmousedown="this.parentNode.setAttribute('buttondown','true');"
|
|
onmouseup="this.parentNode.removeAttribute('buttondown');"
|
|
onmouseover="this.parentNode.setAttribute('buttonover','true');"
|
|
onmouseout="this.parentNode.removeAttribute('buttonover');"/>
|
|
</xul:box>
|
|
<xul:box class="classic-dropmarker-box" autostretch="never" valign="middle" inherits="disabled">
|
|
<xul:image class="classic-dropmarker" inherits="disabled"/>
|
|
</xul:box>
|
|
</content>
|
|
</binding>
|
|
|
|
<binding id="buttonleft" extends="chrome://global/content/xulBindings.xml#basetext">
|
|
<content autostretch="never">
|
|
<xul:image class="classic-simplebutton-icon" inherits="src"/>
|
|
<xul:box orient="vertical" class="classic-simplebutton-textbox" autostretch="never" flex="1">
|
|
<xul:text class="classic-simplebutton-text" inherits="value,accesskey,crop"/>
|
|
</xul:box>
|
|
</content>
|
|
</binding>
|
|
|
|
<binding id="buttontop" extends="chrome://global/content/xulBindings.xml#basetext">
|
|
<content orient="vertical" autostretch="never" halign="middle">
|
|
<xul:image class="classic-simplebutton-icon" inherits="src"/>
|
|
<xul:box orient="vertical" class="classic-simplebutton-textbox" autostretch="never" flex="1">
|
|
<xul:text class="classic-simplebutton-text" inherits="value,accesskey,crop"/>
|
|
</xul:box>
|
|
</content>
|
|
</binding>
|
|
|
|
</bindings>
|