summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranklinDM <mrmineshafter17@gmail.com>2022-03-14 22:05:24 +0800
committerMoonchild <moonchild@palemoon.org>2022-05-03 11:15:20 +0000
commitb0b90b81f31d56066f61ece15b76911dd39a9a1a (patch)
tree793b76b74d8d15cf7b186de9109c4eb7740ab5bc
parent6f9c302a326aa0753dc18508672708b950f54a93 (diff)
downloaduxp-b0b90b81f31d56066f61ece15b76911dd39a9a1a.tar.gz
[Toolkit] Set an icon for the default handler
-rw-r--r--toolkit/mozapps/handling/content/dialog.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolkit/mozapps/handling/content/dialog.js b/toolkit/mozapps/handling/content/dialog.js
index 98a7882016..2d93fd60d6 100644
--- a/toolkit/mozapps/handling/content/dialog.js
+++ b/toolkit/mozapps/handling/content/dialog.js
@@ -151,6 +151,7 @@ var dialog = {
elm.setAttribute("type", "handler");
elm.id = "os-default-handler";
elm.setAttribute("name", this._handlerInfo.defaultDescription);
+ elm.setAttribute("image", "moz-icon://.exe?size=32");
items.insertBefore(elm, items.firstChild);
if (this._handlerInfo.preferredAction ==