[Pkg-mozext-commits] [tabmixplus] 04/47: Update changeset 1260a93c51df Fix compatibility issues with TreeStyleTab extension

David Prévot taffit at moszumanska.debian.org
Fri Sep 26 20:56:59 UTC 2014


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

taffit pushed a commit to branch upstream
in repository tabmixplus.

commit de50750e5ead3de39b221c62b4cdbde8d90c2743
Author: onemen <tabmix.onemen at gmail.com>
Date:   Wed Sep 17 14:06:58 2014 +0300

    Update changeset 1260a93c51df Fix compatibility issues with TreeStyleTab extension
---
 modules/Places.jsm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/Places.jsm b/modules/Places.jsm
index 63ca1c4..317c111 100644
--- a/modules/Places.jsm
+++ b/modules/Places.jsm
@@ -110,11 +110,11 @@ let PlacesUtilsInternal = {
       ).toCode();
     };
     if (treeStyleTab) {
-      // wait until TreeStyleTab to finish change PlacesUIUtils._openTabset
+      // wait until TreeStyleTab changed PlacesUIUtils._openTabset
       let timer = this._timer = Cc["@mozilla.org/timer;1"].createInstance(Ci.nsITimer);
-      this.__index = 1;
+      this.__index = 0;
       timer.initWithCallback(function() {
-        if (this.__index > 10 || PlacesUIUtils._openTabset.toString().indexOf("GroupBookmarkBehavior") > -1) {
+        if (++this.__index > 10 || PlacesUIUtils._openTabset.toString().indexOf("GroupBookmarkBehavior") > -1) {
           timer.cancel();
           this._timer = null;
           this.__index = null;

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