mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 633599 - App menu should be hidden instead of collapsed during startup [r=mfinkle]
This commit is contained in:
parent
1561e13fbf
commit
441c1af174
@ -8,7 +8,7 @@ var AppMenu = {
|
||||
if (BrowserUI.activePanel || BrowserUI.isPanelVisible())
|
||||
return;
|
||||
this.panel.setAttribute("count", this.panel.childNodes.length);
|
||||
this.panel.collapsed = false;
|
||||
this.panel.hidden = false;
|
||||
|
||||
addEventListener("keypress", this, true);
|
||||
|
||||
@ -17,7 +17,7 @@ var AppMenu = {
|
||||
},
|
||||
|
||||
hide: function hide() {
|
||||
this.panel.collapsed = true;
|
||||
this.panel.hidden = true;
|
||||
|
||||
removeEventListener("keypress", this, true);
|
||||
|
||||
@ -26,7 +26,7 @@ var AppMenu = {
|
||||
},
|
||||
|
||||
toggle: function toggle() {
|
||||
this.panel.collapsed ? this.show() : this.hide();
|
||||
this.panel.hidden ? this.show() : this.hide();
|
||||
},
|
||||
|
||||
handleEvent: function handleEvent(aEvent) {
|
||||
|
@ -668,7 +668,7 @@
|
||||
</vbox>
|
||||
</hbox>
|
||||
|
||||
<hbox id="appmenu" bottom="0" collapsed="true" align="stretch" oncommand="AppMenu.hide();">
|
||||
<hbox id="appmenu" bottom="0" hidden="true" align="stretch" oncommand="AppMenu.hide();">
|
||||
<toolbarbutton class="appmenu-button"
|
||||
label="&appMenu.siteOptions;"
|
||||
image="chrome://browser/skin/images/appmenu-site-hdpi.png"
|
||||
|
Loading…
Reference in New Issue
Block a user