diff --git a/mozilla/suite/common/bindings/toolbar.xml b/mozilla/suite/common/bindings/toolbar.xml new file mode 100644 index 00000000000..4023dba8804 --- /dev/null +++ b/mozilla/suite/common/bindings/toolbar.xml @@ -0,0 +1,264 @@ + + + + + + + + + + + + + + + + + + + + + + + + this.init(event); + + + + + + + + + + + + + + + + + + + + + + + + + + + + 20 ? boxObject.height : 23; + var height = boxObject.width > 10 ? boxObject.width : 12; + var styleString = "width: " + width + "px; height: " + height + "px;"; + collapsedGrippy.setAttribute("style", styleString); + collapsedGrippy.setAttribute("tooltip", aToolbar.getAttribute("grippytooltip")); + collapsedGrippy.setAttribute("tooltiptext", aToolbar.getAttribute("grippytooltiptext")); + collapsedGrippy.setAttribute("id", "moz_tb_collapsed_" + aToolbar.id); + collapsedGrippy.collapsed = true; + collapsedGrippy.setAttribute("tbgrippy-collapsed", "true"); + var collapsedTrayHolder = this.findNodeByAttribute("tbattr", "collapsed-tray-holder"); + if (collapsedTrayHolder.getAttribute("moz-collapsed") == "true") + collapsedTrayHolder.removeAttribute("moz-collapsed"); + this.findNodeByAttribute("tbattr", "collapsed-tray").appendChild(collapsedGrippy); + collapsedGrippy = document.getElementById("moz_tb_collapsed_" + aToolbar.id); + } + } + catch (e) { + throw e; + } + ]]> + + + + + + + + + + + + + return this.getAttribute("deferattached"); + + + this.setAttribute("deferattached", val); + return val; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + return this.getAttribute("moz_grippy_collapsed"); + + + this.setAttribute("moz_grippy_collapsed", val); + return val; + + + + + + + + + + + + + + + + + + + + + + + + + + + +