diff options
author | Matt A. Tobin <email@mattatobin.com> | 2018-11-14 02:41:19 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2018-11-14 02:41:19 -0500 |
commit | c8d90e332f4da50fdaa77eb733481d8be547391c (patch) | |
tree | c89addd2f7347046791e668800c0bd6bb2993a21 /application/palemoon/components | |
parent | 9d2d304a60738c4508339f0f876a6a1d36af46c5 (diff) | |
download | UXP-c8d90e332f4da50fdaa77eb733481d8be547391c.tar UXP-c8d90e332f4da50fdaa77eb733481d8be547391c.tar.gz UXP-c8d90e332f4da50fdaa77eb733481d8be547391c.tar.lz UXP-c8d90e332f4da50fdaa77eb733481d8be547391c.tar.xz UXP-c8d90e332f4da50fdaa77eb733481d8be547391c.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"; }, /** |