[Pkg-mozext-commits] [tabmixplus] 27/34: Remove obsolete attribute "newtab", it is not in use since changeset 2e1ac85b1e0d

David Prévot taffit at moszumanska.debian.org
Mon Mar 9 23:28:09 UTC 2015


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

taffit pushed a commit to branch master
in repository tabmixplus.

commit d2492a03af771a2ce78c4b29051b8d56d1885dea
Author: onemen <tabmix.onemen at gmail.com>
Date:   Sun Mar 1 18:40:46 2015 +0200

    Remove obsolete attribute "newtab", it is not in use since changeset 2e1ac85b1e0d
---
 chrome/content/minit/tablib.js | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/chrome/content/minit/tablib.js b/chrome/content/minit/tablib.js
index 6545cef..e17409c 100644
--- a/chrome/content/minit/tablib.js
+++ b/chrome/content/minit/tablib.js
@@ -145,8 +145,7 @@ var tablib = {
        if (isPending || isRestoringTab && Services.prefs.getBoolPref("browser.sessionstore.restore_on_demand")) \
          t.setAttribute("tabmix_pending", "true"); \
        var lastChild = this.tabContainer.lastChild; \
-       if (lastChild) lastChild.removeAttribute("last-tab"); \
-       if (TabmixTabbar.widthFitTitle) t.setAttribute("newtab", true);'
+       if (lastChild) lastChild.removeAttribute("last-tab");'
     )._replace(
       'this._lastRelatedTab = t;',
       'if (Tabmix.prefs.getBoolPref("openTabNextInverse")) {\
@@ -1711,8 +1710,6 @@ var tablib = {
       aTab.removeAttribute("width");
       if (width != aTab.boxObject.width)
         TMP_Places.afterTabTitleChanged(true);
-      if (aTab.hasAttribute("newtab"))
-        aTab.removeAttribute("newtab");
     }
     else if (aTab.hasAttribute("fadein"))
       TMP_Places.afterTabTitleChanged(true);

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