[Pkg-mozext-commits] [tabmixplus] 45/123: No need to hide new tabs on Tab Mix Session Manager

David Prévot taffit at moszumanska.debian.org
Wed Sep 17 21:16:25 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 92605d230f39a57550cd713e170d072961e28d52
Author: onemen <tabmix.onemen at gmail.com>
Date:   Mon Aug 25 19:49:50 2014 +0300

    No need to hide new tabs on Tab Mix Session Manager
---
 chrome/content/overlay/browsr.css | 5 -----
 chrome/content/session/session.js | 2 --
 2 files changed, 7 deletions(-)

diff --git a/chrome/content/overlay/browsr.css b/chrome/content/overlay/browsr.css
index 3b17299..d233d34 100644
--- a/chrome/content/overlay/browsr.css
+++ b/chrome/content/overlay/browsr.css
@@ -240,11 +240,6 @@ so display: none !important; does not hide the button */
   padding-right: 0 !important;
 }
 
-/* hide new tab in session manager */
-.tabbrowser-tab[tabmix_hide] {
-  display: none;
-}
-
 /***  For progressmeter on tab Firefox 4.0+  ***/
 .tab-progress {
   margin: 0;
diff --git a/chrome/content/session/session.js b/chrome/content/session/session.js
index 1460e2c..fb088e7 100644
--- a/chrome/content/session/session.js
+++ b/chrome/content/session/session.js
@@ -2979,7 +2979,6 @@ try{
       let pending = Services.prefs.getBoolPref("browser.sessionstore.restore_on_demand")
       function TMP_addTab() {
         let newTab = gBrowser.addTab("about:blank", {skipAnimation: true, dontMove: true, isPending: pending});
-        newTab.setAttribute("tabmix_hide", "true");
         // flag. dont save tab that are in restore phase
         newTab.setAttribute("inrestore", "true");
 
@@ -3120,7 +3119,6 @@ try{
       for (let t = 0; t < tabsData.length ; t++) {
         let data = tabsData[t];
         let tab = gBrowser.tabs[newIndex + t];
-        tab.removeAttribute("tabmix_hide");
         tabs.push(tab);
         // flag. dont save tab that are in restore phase
         if (!tab.hasAttribute("inrestore"))

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