mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 511091: Support custom icons for disabled extensions, follow up fix. r=robstrong
This commit is contained in:
parent
ecd56e6571
commit
20b8f73715
@ -7658,7 +7658,7 @@ ExtensionsDataSource.prototype = {
|
||||
var id = stripPrefix(item.Value, PREFIX_ITEM_URI);
|
||||
var installLocation = this._em.getInstallLocation(id);
|
||||
if (!installLocation)
|
||||
return fallbackURL;
|
||||
return null;
|
||||
var file = installLocation.getItemFile(id, fileName)
|
||||
if (file.exists())
|
||||
return gRDF.GetResource(getURLSpecFromFile(file));
|
||||
|
Loading…
Reference in New Issue
Block a user