[Pkg-mozext-commits] [tabmixplus] 06/14: Fix some incompatibility with Pale Moon
David Prévot
taffit at moszumanska.debian.org
Sun Oct 5 15:44:56 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch debian-0.4.1.5
in repository tabmixplus.
commit a9a66997335b2c4ac44d357d34440f6bf51092dc
Author: onemen <tabmix.onemen at gmail.com>
Date: Tue Sep 30 12:01:27 2014 +0300
Fix some incompatibility with Pale Moon
---
chrome/content/overlay/browsr.css | 4 ++++
chrome/content/preferences/appearance.js | 2 +-
modules/Services.jsm | 4 ++++
3 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/chrome/content/overlay/browsr.css b/chrome/content/overlay/browsr.css
index dcac46a..a13b618 100644
--- a/chrome/content/overlay/browsr.css
+++ b/chrome/content/overlay/browsr.css
@@ -150,6 +150,10 @@ label.text-link, label[onclick] {
vertical-align: bottom;
}
+#main-window[title_normal="Pale Moon"] .tabbrowser-arrowscrollbox[flowing="multibar"] > toolbarbutton {
+ vertical-align: bottom;
+}
+
#TabsToolbar[tabmix-show-newtabbutton="aftertabs"]:not([customizing="true"]) >
#tabbrowser-tabs:not([overflow="true"]) > .tabbrowser-arrowscrollbox > .tabs-newtab-button[command="cmd_newNavigatorTab"] {
display: -moz-box;
diff --git a/chrome/content/preferences/appearance.js b/chrome/content/preferences/appearance.js
index 54a2612..a786f90 100644
--- a/chrome/content/preferences/appearance.js
+++ b/chrome/content/preferences/appearance.js
@@ -19,7 +19,7 @@ var gAppearancePane = {
}
// browser.allTabs.previews
- if (Tabmix.isVersion(210)) {
+ if (Tabmix.isVersion(210) && !TabmixSvc.isPaleMoon) {
gPrefWindow.removeChild("pref_allTabsPpreviews");
gPrefWindow.removeChild("obs_hideAllTabsButton");
gPrefWindow.removeChild("allTabsPpreviews");
diff --git a/modules/Services.jsm b/modules/Services.jsm
index 957ec9b..75bbeae 100644
--- a/modules/Services.jsm
+++ b/modules/Services.jsm
@@ -248,6 +248,10 @@ XPCOMUtils.defineLazyGetter(TabmixSvc, "isLinux", function () {
return Services.appinfo.OS == "Linux";
});
+XPCOMUtils.defineLazyGetter(TabmixSvc, "isPaleMoon", function () {
+ return Services.appinfo.name == "Pale Moon";
+});
+
/**
* bug 1051017 - Firefox 34 - change
* browser.contentWindow -> browser.contentWindowAsCPOW
--
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