Bug 1948261 - Add "Pin extension to toolbar" checkbox in postinstall r=zombie,fluent-reviewers,bolsson

This adds the "Pin extension to toolbar" checkbox to the post-install
doorhanger, and ensures that the checkbox has a state that reflects the
actual placement of the button, including externally triggered changes.

Differential Revision: https://phabricator.services.mozilla.com/D250324
This commit is contained in:
Rob Wu
2025-05-22 12:33:14 +00:00
committed by rob@robwu.nl
parent 7f964b72c7
commit ad06d60b0b
5 changed files with 472 additions and 1 deletions

View File

@@ -225,6 +225,8 @@
hidden="true">
<popupnotificationcontent class="addon-installed-notification-content" orient="vertical">
<description id="addon-install-description"></description>
<checkbox id="addon-pin-toolbarbutton-checkbox"
data-lazy-l10n-id="appmenu-addon-post-install-pin-toolbarbutton-checkbox"/>
</popupnotificationcontent>
</popupnotification>