summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-11-14 02:41:19 -0500
committerwolfbeast <mcwerewolf@gmail.com>2018-12-04 19:59:14 +0100
commit831b9d8d9eed8665b2e00dbf137ed10114114d01 (patch)
tree9de193412a48fb38d8e7a936e85461c77daa34ff /application
parent6864a02d7b3900e2caf1e67ffb20220bf8dc212d (diff)
downloadUXP-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')
-rw-r--r--application/palemoon/components/feeds/FeedWriter.js7
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";
},
/**