mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 907376: disable Exit button in Customization Mode. r=jaws
This commit is contained in:
parent
15bc5b134f
commit
7206941ef9
@ -154,6 +154,7 @@ CustomizeMode.prototype = {
|
||||
window.PanelUI.menuButton.disabled = true;
|
||||
|
||||
window.document.getElementById("PanelUI-help").disabled = true;
|
||||
window.document.getElementById("PanelUI-quit").disabled = true;
|
||||
|
||||
this._updateResetButton();
|
||||
|
||||
@ -230,6 +231,7 @@ CustomizeMode.prototype = {
|
||||
window.PanelUI.menuButton.disabled = false;
|
||||
|
||||
window.document.getElementById("PanelUI-help").disabled = false;
|
||||
window.document.getElementById("PanelUI-quit").disabled = false;
|
||||
|
||||
// We need to set self._customizing to false before removing the tab
|
||||
// or the TabSelect event handler will think that we are exiting
|
||||
|
@ -242,7 +242,7 @@ toolbarpaletteitem[place="palette"] > toolbaritem > toolbarbutton {
|
||||
|
||||
#PanelUI-help:not([disabled]):hover,
|
||||
#PanelUI-customize:hover,
|
||||
#PanelUI-quit:hover {
|
||||
#PanelUI-quit:not([disabled]):hover {
|
||||
border-color: rgba(8,25,42,0.2);
|
||||
border-top-color: rgba(8,25,42,0.1);
|
||||
background-color: rgba(0,0,0,0.1);
|
||||
|
Loading…
Reference in New Issue
Block a user