[X2Go-Commits] [pale-moon] 43/294: Stop using hard-coded URL for "get more devtools"

git-admin at x2go.org git-admin at x2go.org
Sat Apr 27 08:57:45 CEST 2019


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch upstream/28.5.0
in repository pale-moon.

commit 54f9a14d030793d9380e0af6d8a77e17e1e1e8f5
Author: wolfbeast <mcwerewolf at wolfbeast.com>
Date:   Sat Feb 16 12:46:20 2019 +0100

    Stop using hard-coded URL for "get more devtools"
---
 devtools/client/menus.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/devtools/client/menus.js b/devtools/client/menus.js
index 1d21689..dbacb36 100644
--- a/devtools/client/menus.js
+++ b/devtools/client/menus.js
@@ -189,7 +189,8 @@ exports.menuitems = [
     l10nKey: "getMoreDevtoolsCmd",
     oncommand(event) {
       let window = event.target.ownerDocument.defaultView;
-      window.openUILinkIn("https://addons.mozilla.org/firefox/collections/mozilla/webdeveloper/", "tab");
+      let getMoreURL = Services.prefs.getCharPref("browser.getdevtools.url");
+      window.openUILinkIn(getMoreURL, "tab");
     }
   },
 ];

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/pale-moon.git


More information about the x2go-commits mailing list