mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1104221 - Search drop down shows the icon of the previous default engine if the new default doesn't have an icon. r=felipe
This commit is contained in:
parent
8f91234307
commit
84f5bfb056
@ -1015,6 +1015,11 @@
|
||||
uri = uri.spec;
|
||||
this.setAttribute("src", PlacesUtils.getImageURLForResolution(window, uri));
|
||||
}
|
||||
else {
|
||||
// If the default has just been changed to a provider without icon,
|
||||
// avoid showing the icon of the previous default provider.
|
||||
this.removeAttribute("src");
|
||||
}
|
||||
document.getAnonymousElementByAttribute(this, "anonid", "searchbar-engine-name")
|
||||
.setAttribute("value", currentEngine.name + " Search");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user