diff options
author | Matt A. Tobin <email@mattatobin.com> | 2018-11-14 02:41:19 -0500 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-12-04 19:59:14 +0100 |
commit | 831b9d8d9eed8665b2e00dbf137ed10114114d01 (patch) | |
tree | 9de193412a48fb38d8e7a936e85461c77daa34ff /application/palemoon/components | |
parent | 6864a02d7b3900e2caf1e67ffb20220bf8dc212d (diff) | |
download | UXP-831b9d8d9eed8665b2e00dbf137ed10114114d01.tar UXP-831b9d8d9eed8665b2e00dbf137ed10114114d01.tar.gz UXP-831b9d8d9eed8665b2e00dbf137ed10114114d01.tar.lz UXP-831b9d8d9eed8665b2e00dbf137ed10114114d01.tar.xz UXP-831b9d8d9eed8665b2e00dbf137ed10114114d01.zip |
[PALEMOON] Use generic application icon for external applications in about:feeds
Diffstat (limited to 'application/palemoon/components')
-rw-r--r-- | application/palemoon/components/feeds/FeedWriter.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/application/palemoon/components/feeds/FeedWriter.js b/application/palemoon/components/feeds/FeedWriter.js index 2ae31dffa..cfea150e2 100644 --- a/application/palemoon/components/feeds/FeedWriter.js +++ b/application/palemoon/components/feeds/FeedWriter.js @@ -698,12 +698,7 @@ FeedWriter.prototype = { * @returns moz-icon url of the given file as a string */ _getFileIconURL: function FW__getFileIconURL(file) { - 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"; + return "moz-icon://dummy.exe?size=16"; }, /** |