mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-24 08:07:30 +09:00
[Toolkit] Set an icon for the default handler
This commit is contained in:
parent
06d8563a58
commit
4caef059e4
1 changed files with 1 additions and 0 deletions
|
|
@ -151,6 +151,7 @@ var dialog = {
|
||||||
elm.setAttribute("type", "handler");
|
elm.setAttribute("type", "handler");
|
||||||
elm.id = "os-default-handler";
|
elm.id = "os-default-handler";
|
||||||
elm.setAttribute("name", this._handlerInfo.defaultDescription);
|
elm.setAttribute("name", this._handlerInfo.defaultDescription);
|
||||||
|
elm.setAttribute("image", "moz-icon://.exe?size=32");
|
||||||
|
|
||||||
items.insertBefore(elm, items.firstChild);
|
items.insertBefore(elm, items.firstChild);
|
||||||
if (this._handlerInfo.preferredAction ==
|
if (this._handlerInfo.preferredAction ==
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue