[Pkg-mozext-commits] [tabmixplus] 108/123: Call updateScrollButtons when tabmixScrollBox move for FireFox 17-28

David Prévot taffit at moszumanska.debian.org
Wed Sep 17 21:16:32 UTC 2014


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

taffit pushed a commit to branch master
in repository tabmixplus.

commit ffec752641931cff686fa43f556351910e03b81f
Author: onemen <tabmix.onemen at gmail.com>
Date:   Sun Sep 14 18:49:03 2014 +0300

    Call updateScrollButtons when tabmixScrollBox move for FireFox 17-28
---
 chrome/content/minit/minit.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/chrome/content/minit/minit.js b/chrome/content/minit/minit.js
index d575936..4e4e499 100644
--- a/chrome/content/minit/minit.js
+++ b/chrome/content/minit/minit.js
@@ -1280,6 +1280,10 @@ Tabmix.navToolbox = {
     if (!Tabmix.isVersion(290)) {
       let next = gBrowser.tabContainer.nextSibling;
       next.parentNode.insertBefore(box, next);
+      if (!onlyPosition) {
+        let useTabmixButtons = TabmixTabbar.scrollButtonsMode > TabmixTabbar.SCROLL_BUTTONS_LEFT_RIGHT;
+        gBrowser.tabContainer.mTabstrip.updateScrollButtons(useTabmixButtons);
+      }
       return;
     }
     let tabsPosition = Tabmix.getPlacement("tabbrowser-tabs");

-- 
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