From 60d6a5f3be68019b3b9fba736f01e8c7be37700e Mon Sep 17 00:00:00 2001 From: Sertonix Date: Sun, 29 Sep 2024 12:47:16 +0000 Subject: [PATCH] Remove unusted patch patches/unified-extensions-dont-show-recommendations.patch (!82) Reviewed-on: https://codeberg.org/librewolf/source/pulls/82 Co-authored-by: Sertonix Co-committed-by: Sertonix --- ...extensions-dont-show-recommendations.patch | 25 ------------------- 1 file changed, 25 deletions(-) delete mode 100644 patches/unified-extensions-dont-show-recommendations.patch diff --git a/patches/unified-extensions-dont-show-recommendations.patch b/patches/unified-extensions-dont-show-recommendations.patch deleted file mode 100644 index e931174..0000000 --- a/patches/unified-extensions-dont-show-recommendations.patch +++ /dev/null @@ -1,25 +0,0 @@ -# Backport of https://phabricator.services.mozilla.com/D169570 -# Should land in 112.0 ---- a/browser/base/content/browser-addons.js -+++ b/browser/base/content/browser-addons.js -@@ -1472,11 +1472,19 @@ - } - - // The button should directly open `about:addons` when the user does not - // have any active extensions listed in the unified extensions panel. - if (!this.hasExtensionsInPanel()) { -- await BrowserOpenAddonsMgr("addons://discover/"); -+ let viewID; -+ if ( -+ Services.prefs.getBoolPref("extensions.getAddons.showPane", true) -+ ) { -+ viewID = "addons://discover/"; -+ } else { -+ viewID = "addons://list/extension"; -+ } -+ await BrowserOpenAddonsMgr(viewID); - return; - } - } - - let panel = this.panel;