mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 347728: Personal Toolbar and Site Navigation Bar disappear; r/sr=Neil
This commit is contained in:
parent
b41bcdfbd3
commit
9011157180
@ -155,15 +155,22 @@
|
||||
<children/>
|
||||
</xul:hbox>
|
||||
</content>
|
||||
|
||||
<implementation>
|
||||
<constructor>
|
||||
<![CDATA[
|
||||
if (this.getAttribute("moz-collapsed") == "true" &&
|
||||
this.parentNode.localName == "toolbox")
|
||||
this.parentNode.createCollapsedGrippy(this);
|
||||
]]>
|
||||
</constructor>
|
||||
</implementation>
|
||||
</binding>
|
||||
|
||||
<binding id="grippytoolbar-primary" extends="chrome://communicator/content/bindings/toolbar.xml#grippytoolbar">
|
||||
<implementation implements="nsIObserver">
|
||||
<constructor>
|
||||
<![CDATA[
|
||||
if (this.getAttribute("moz-collapsed") == "true" &&
|
||||
this.parentNode.localName == "toolbox")
|
||||
this.parentNode.createCollapsedGrippy(this);
|
||||
this.prefs.addObserver(this.domain, this, false);
|
||||
if (this.prefs.getIntPref(this.domain) != 2)
|
||||
this.observe(this.prefs, "nsPref:changed", this.domain);
|
||||
|
Loading…
Reference in New Issue
Block a user