mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 566872 - Search engines should appear grayed out when disabled [r=mfinkle]
This commit is contained in:
parent
a60aff16e9
commit
592fecdf8a
@ -349,6 +349,7 @@ var ExtensionsView = {
|
||||
enable: function ev_enable(aItem) {
|
||||
let opType;
|
||||
if (aItem.getAttribute("type") == "search") {
|
||||
aItem.setAttribute("isDisabled", false);
|
||||
aItem._engine.hidden = false;
|
||||
opType = "needs-enable";
|
||||
} else {
|
||||
@ -367,6 +368,7 @@ var ExtensionsView = {
|
||||
disable: function ev_disable(aItem) {
|
||||
let opType;
|
||||
if (aItem.getAttribute("type") == "search") {
|
||||
aItem.setAttribute("isDisabled", true);
|
||||
aItem._engine.hidden = true;
|
||||
opType = "needs-disable";
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user