Bug 511091: Support custom icons for disabled extensions, follow up fix. r=robstrong

This commit is contained in:
Dave Townsend 2009-09-07 10:09:11 +01:00
parent ecd56e6571
commit 20b8f73715

View File

@ -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));