[Pkg-mozext-commits] [tabmixplus] 32/48: Follow up bug 1388032 - Remove BrowserCustomizeToolbar
David Prévot
taffit at moszumanska.debian.org
Sun Aug 20 03:14:37 UTC 2017
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository tabmixplus.
commit abbcba6474de91de82d0e5db861b73dd2de68347
Author: onemen <tabmix.onemen at gmail.com>
Date: Mon Aug 14 14:47:01 2017 +0300
Follow up bug 1388032 - Remove BrowserCustomizeToolbar
---
chrome/content/preferences/appearance.js | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/chrome/content/preferences/appearance.js b/chrome/content/preferences/appearance.js
index 07009a3..74f27b1 100644
--- a/chrome/content/preferences/appearance.js
+++ b/chrome/content/preferences/appearance.js
@@ -101,7 +101,13 @@ var gAppearancePane = {
tabmixCustomizeToolbar() {
this._tabmixCustomizeToolbar = true;
- Tabmix.getTopWin().BrowserCustomizeToolbar();
+ const win = Tabmix.getTopWin();
+ if (typeof win.gCustomizeMode == "object") {
+ // Firefox 57
+ win.gCustomizeMode.enter();
+ } else {
+ win.BrowserCustomizeToolbar();
+ }
},
toolbarButtons(aWindow) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/tabmixplus.git
More information about the Pkg-mozext-commits
mailing list