From c8d90e332f4da50fdaa77eb733481d8be547391c Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Wed, 14 Nov 2018 02:41:19 -0500 Subject: [PALEMOON] Use generic application icon for external applications in about:feeds --- application/palemoon/components/feeds/FeedWriter.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'application/palemoon/components/feeds') 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"; }, /** -- cgit v1.2.3