[Pkg-mozext-commits] [tabmixplus] 06/15: Follow up bug 1112304, update tabbrowser-tab binding
David Prévot
taffit at moszumanska.debian.org
Sat Feb 21 22:30:05 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository tabmixplus.
commit 52b124977dcf7aad41c667319063dae78e750732
Author: onemen <tabmix.onemen at gmail.com>
Date: Tue Feb 3 17:25:35 2015 +0200
Follow up bug 1112304, update tabbrowser-tab binding
---
chrome/content/tab/tab.js | 4 ++++
chrome/content/tab/tabbrowser_4.xml | 6 +++++-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/chrome/content/tab/tab.js b/chrome/content/tab/tab.js
index 4b62b47..81afd6f 100644
--- a/chrome/content/tab/tab.js
+++ b/chrome/content/tab/tab.js
@@ -1649,6 +1649,10 @@ var gTMPprefObserver = {
},
miscellaneousRules: function TMP_PO_miscellaneousRules() {
+ /* tab-icon-overlay added by Bug 1112304, Firefox 38+ */
+ if (!Tabmix.isVersion(380))
+ this.insertRule('.tab-icon-overlay {display: none;}');
+
// height shrink to actual size when the tabbar is in display: block (multi-row)
let newRule = '#TabsToolbar[tabmix-show-newtabbutton*="aftertabs"] >' +
'#tabbrowser-tabs:not([overflow="true"]) > .tabbrowser-arrowscrollbox[flowing="multibar"]' +
diff --git a/chrome/content/tab/tabbrowser_4.xml b/chrome/content/tab/tabbrowser_4.xml
index 960504a..7efb775 100644
--- a/chrome/content/tab/tabbrowser_4.xml
+++ b/chrome/content/tab/tabbrowser_4.xml
@@ -62,10 +62,14 @@
<xul:image xbl:inherits="fadein,pinned,busy,progress,selected"
class="tab-throbber"
role="presentation"/>
- <xul:image xbl:inherits="src=image,fadein,pinned,selected"
+ <xul:image xbl:inherits="src=image,fadein,pinned,selected,busy,crashed"
+ anonid="tab-icon-image"
class="tab-icon-image"
validate="never"
role="presentation"/>
+ <xul:image xbl:inherits="crashed,busy"
+ class="tab-icon-overlay"
+ role="presentation"/>
<xul:image class="tab-protect-icon" />
<xul:image class="tab-lock-icon"/>
<xul:image class="tab-reload-icon"/>
--
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