[Pkg-mozext-commits] [tabmixplus] 02/123: Update changeset effec5df8b84

David Prévot taffit at moszumanska.debian.org
Wed Sep 17 21:16:21 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 92f782a368ec3d218c287a3ef786fa88bec82dbb
Author: onemen <tabmix.onemen at gmail.com>
Date:   Sun Aug 3 16:56:07 2014 +0300

    Update changeset effec5df8b84
---
 chrome/content/tab/tab.js | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/chrome/content/tab/tab.js b/chrome/content/tab/tab.js
index efe16a8..5508ce7 100644
--- a/chrome/content/tab/tab.js
+++ b/chrome/content/tab/tab.js
@@ -1294,8 +1294,12 @@ var gTMPprefObserver = {
 
     if (Tabmix.isVersion(310)) {
       let val = Tabmix.singleWindowMode || null;
-      Tabmix.setItem("menu_newRemoteWindow", "hidden", val);
-      Tabmix.setItem("menu_newNonRemoteWindow", "hidden", val);
+      if (val) {
+        Tabmix.setItem("menu_newRemoteWindow", "hidden", true);
+        Tabmix.setItem("menu_newNonRemoteWindow", "hidden", true);
+      }
+      else
+        gRemoteTabsUI.init();
       Tabmix.setItem("Tools:RemoteWindow", "disabled", val);
       Tabmix.setItem("Tools:NonRemoteWindow", "disabled", val);
     }

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