[Pkg-mozext-commits] [tabmixplus] 111/123: Update changeset cb7f56a0b9a4, turning button broadcaster off before CustomizableUI started prevents the broadcaster from working properly when the buttons moved from palette to toolbar or when the buttons are in the menu panel

David Prévot taffit at moszumanska.debian.org
Wed Sep 17 21:16:33 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 673532843acc476c58d5b79b7d99369f8ca10a9c
Author: onemen <tabmix.onemen at gmail.com>
Date:   Mon Sep 15 23:20:10 2014 +0300

    Update changeset cb7f56a0b9a4, turning button broadcaster off before CustomizableUI started prevents the broadcaster from working properly when the buttons moved from palette to toolbar or when the buttons are in the menu panel
---
 chrome/content/tabmix.js | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/chrome/content/tabmix.js b/chrome/content/tabmix.js
index a16f306..288fdbf 100644
--- a/chrome/content/tabmix.js
+++ b/chrome/content/tabmix.js
@@ -339,10 +339,6 @@ var TMP_eventListener = {
     Tabmix.isFirstWindow = Tabmix.numberOfWindows() == 1;
     TMP_SessionStore.setAfterSessionRestored();
 
-    // turn both broadcasters off, we will set the proper value later
-    Tabmix.setItem("tmp_undocloseButton", "disabled", true);
-    Tabmix.setItem("tmp_closedwindows", "disabled", true);
-
     try {
       /**
       *  aObject, aName , aModule - file name , aSymbol - symbol in EXPORTED_SYMBOLS, aFlag, aArg
@@ -615,6 +611,9 @@ var TMP_eventListener = {
 
     gTMPprefObserver.addDynamicRules();
     TabmixSessionManager.updateSettings();
+    // turn both broadcasters off, we will set the proper value later
+    Tabmix.setItem("tmp_undocloseButton", "disabled", true);
+    Tabmix.setItem("tmp_closedwindows", "disabled", true);
 
     Tabmix.setNewFunction(tabBar, "adjustTabstrip", Tabmix.adjustTabstrip);
     delete Tabmix.adjustTabstrip;

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