Skip to content

Commit

Permalink
Allow removing and moving the unified extension button.
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlex94 committed Sep 13, 2023
1 parent 9038cd1 commit cf66584
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion browser/base/content/browser-addons.js
Original file line number Diff line number Diff line change
Expand Up @@ -1238,7 +1238,7 @@ var gUnifiedExtensions = {
},

getPopupAnchorID(aBrowser, aWindow) {
const anchorID = "unified-extensions-button";
const anchorID = "tracking-protection-icon-box";
const attr = anchorID + "popupnotificationanchor";

if (!aBrowser[attr]) {
Expand Down
4 changes: 2 additions & 2 deletions browser/base/content/navigator-toolbox.inc.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
data-l10n-id="navbar-accessible"
fullscreentoolbar="true" mode="icons" customizable="true"
customizationtarget="nav-bar-customization-target"
overflowable="true"
overflowable="true" removable="true"
default-overflowbutton="nav-bar-overflow-button"
default-overflowtarget="widget-overflow-list"
default-overflowpanel="widget-overflow"
Expand Down Expand Up @@ -465,7 +465,7 @@
onkeypress="gUnifiedExtensions.togglePanel(event)"
onmousedown="gUnifiedExtensions.togglePanel(event)"
overflows="false"
removable="false"/>
removable="true"/>
</hbox>

<toolbarbutton id="nav-bar-overflow-button"
Expand Down
1 change: 1 addition & 0 deletions browser/components/customizableui/CustomizableUI.sys.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,7 @@ var CustomizableUIInternal = {
// This widget no longer exists as of 2023, see Bug 1799009.
"add-ons-button",
"sync-button",
"unified-extensions-button",
];

if (!AppConstants.MOZ_DEV_EDITION) {
Expand Down

0 comments on commit cf66584

Please sign in to comment.