mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 00:38:39 +09:00
Revert "[PALEMOON] Use generic application icon for external applications in about:feeds"
This reverts commit c8d90e332f4da50fdaa77eb733481d8be547391c.
This commit is contained in:
parent
ab837222b1
commit
dfcf00a75f
1 changed files with 6 additions and 1 deletions
|
|
@ -698,7 +698,12 @@ FeedWriter.prototype = {
|
||||||
* @returns moz-icon url of the given file as a string
|
* @returns moz-icon url of the given file as a string
|
||||||
*/
|
*/
|
||||||
_getFileIconURL: function FW__getFileIconURL(file) {
|
_getFileIconURL: function FW__getFileIconURL(file) {
|
||||||
return "moz-icon://dummy.exe?size=16";
|
var ios = Cc["@mozilla.org/network/io-service;1"].
|
||||||
|
getService(Ci.nsIIOService);
|
||||||
|
var fph = ios.getProtocolHandler("file")
|
||||||
|
.QueryInterface(Ci.nsIFileProtocolHandler);
|
||||||
|
var urlSpec = fph.getURLSpecFromFile(file);
|
||||||
|
return "moz-icon://" + urlSpec + "?size=16";
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue