mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 642355 - Fix print preview in popups. r=gavin
This commit is contained in:
parent
10af14bcf0
commit
2e57c45181
@ -793,6 +793,7 @@
|
||||
|
||||
|
||||
<toolbar id="TabsToolbar"
|
||||
class="toolbar-primary"
|
||||
fullscreentoolbar="true"
|
||||
customizable="true"
|
||||
mode="icons" lockmode="true"
|
||||
|
@ -2743,9 +2743,9 @@
|
||||
|
||||
<method name="updateVisibility">
|
||||
<body><![CDATA[
|
||||
if (this.childNodes.length - this.tabbrowser._removingTabs.length == 1 &&
|
||||
window.toolbar.visible)
|
||||
this.visible = !Services.prefs.getBoolPref("browser.tabs.autoHide");
|
||||
if (this.childNodes.length - this.tabbrowser._removingTabs.length == 1)
|
||||
this.visible = window.toolbar.visible &&
|
||||
!Services.prefs.getBoolPref("browser.tabs.autoHide");
|
||||
else
|
||||
this.visible = true;
|
||||
]]></body>
|
||||
|
Loading…
Reference in New Issue
Block a user