mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 870866 - (Australis) When in customization mode, the Panel Menu button should be in the :active state. r=mikedeboer
This commit is contained in:
parent
059aa0e414
commit
e8f66d5b0e
@ -106,15 +106,15 @@ CustomizeMode.prototype = {
|
||||
|
||||
// Same goes for the menu button - if we're customizing, a click to the
|
||||
// menu button means a quick exit from customization mode.
|
||||
window.PanelUI.hide();
|
||||
window.PanelUI.menuButton.addEventListener("click", this, false);
|
||||
window.PanelUI.menuButton.disabled = true;
|
||||
window.PanelUI.menuButton.open = true;
|
||||
|
||||
// Let everybody in this window know that we're about to customize.
|
||||
this.dispatchToolboxEvent("customizationstarting");
|
||||
|
||||
customizer.parentNode.selectedPanel = customizer;
|
||||
|
||||
window.PanelUI.hide();
|
||||
// Move the mainView in the panel to the holder so that we can see it
|
||||
// while customizing.
|
||||
let panelHolder = document.getElementById("customization-panelHolder");
|
||||
@ -158,7 +158,7 @@ CustomizeMode.prototype = {
|
||||
deck.removeEventListener("keypress", this, false);
|
||||
deck.removeEventListener("click", this, false);
|
||||
this.window.PanelUI.menuButton.removeEventListener("click", this, false);
|
||||
this.window.PanelUI.menuButton.disabled = false;
|
||||
this.window.PanelUI.menuButton.open = false;
|
||||
|
||||
this._removePanelCustomizationPlaceholders();
|
||||
this.depopulatePalette();
|
||||
|
Loading…
Reference in New Issue
Block a user