[Pkg-mozext-commits] [tabmixplus] 09/26: Remove support for Firefox 17 - 18

David Prévot taffit at moszumanska.debian.org
Fri Mar 25 21:56:15 UTC 2016


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

taffit pushed a commit to tag 0.4.2.3pre.160319a1
in repository tabmixplus.

commit 416d8d4a7684c34452cba375e78574cf9a2efc25
Author: onemen <tabmix.onemen at gmail.com>
Date:   Sat Mar 12 20:10:32 2016 +0200

    Remove support for Firefox 17 - 18
---
 chrome/content/links/contentLinks.js   | 3 +--
 chrome/content/session/sessionStore.js | 5 +----
 chrome/content/tab/tab.js              | 3 +--
 modules/Services.jsm                   | 3 +--
 4 files changed, 4 insertions(+), 10 deletions(-)

diff --git a/chrome/content/links/contentLinks.js b/chrome/content/links/contentLinks.js
index aac0364..8622448 100644
--- a/chrome/content/links/contentLinks.js
+++ b/chrome/content/links/contentLinks.js
@@ -24,7 +24,6 @@ Tabmix.contentAreaClick = {
       'loadURI(',
       'if (where == "tab" || where == "tabshifted") {\n' +
       '        let doc = event.target.ownerDocument;\n' +
-      '        let _url = Tabmix.isVersion(190) ? href : url;\n' +
       '        let params = { charset: doc.characterSet, initiatingDoc: doc,\n' +
       '                       suppressTabsOnFileDownload: suppressTabsOnFileDownload,\n' +
       '                       referrerURI: doc.documentURIObject };\n' +
@@ -32,7 +31,7 @@ Tabmix.contentAreaClick = {
       '          params.referrerPolicy = doc.referrerPolicy;\n' +
       '          params.noReferrer = BrowserUtils.linkHasNoReferrer(linkNode);\n' +
       '        }\n' +
-      '        openLinkIn(_url, where, params);\n' +
+      '        openLinkIn(href, where, params);\n' +
       '      }\n' +
       '      else\n        $&'
     )._replace(
diff --git a/chrome/content/session/sessionStore.js b/chrome/content/session/sessionStore.js
index 5ebd4ed..80dd8d2 100644
--- a/chrome/content/session/sessionStore.js
+++ b/chrome/content/session/sessionStore.js
@@ -702,10 +702,7 @@ var TabmixConvertSession = { // jshint ignore:line
     fp.appendFilter(this.getString("rdffiles"), "*.rdf");
     fp.appendFilter(this.getString("sessionfiles"), "*session*.*");
     fp.appendFilters(nsIFilePicker.filterText | nsIFilePicker.filterAll);
-    if (Tabmix.isVersion(180))
-      fp.open(fpCallback);
-    else
-      fpCallback(fp.show());
+    fp.open(fpCallback);
   },
 
   convertFile: function cs_convertFile(aFileUri, aSilent) {
diff --git a/chrome/content/tab/tab.js b/chrome/content/tab/tab.js
index 03c1774..bc9a7fb 100644
--- a/chrome/content/tab/tab.js
+++ b/chrome/content/tab/tab.js
@@ -975,8 +975,7 @@ Tabmix.tabsUtils = {
         // overflow/underflow handler from tabbrowser-arrowscrollbox binding
         if (val) {
           tabBar._positionPinnedTabs();
-          if (Tabmix.isVersion(190))
-            tabBar._handleTabSelect(false);
+          tabBar._handleTabSelect(false);
         } else {
           if (tabBar._lastTabClosedByMouse)
             tabBar._expandSpacerBy(tabstrip._scrollButtonDown.clientWidth);
diff --git a/modules/Services.jsm b/modules/Services.jsm
index 66e2197..ca60fc5 100644
--- a/modules/Services.jsm
+++ b/modules/Services.jsm
@@ -182,8 +182,7 @@ this.TabmixSvc = {
 
       Services.obs.addObserver(this, "quit-application", true);
 
-      if (isVersion(190))
-        Cu.import("resource://tabmixplus/DownloadLastDir.jsm");
+      Cu.import("resource://tabmixplus/DownloadLastDir.jsm");
 
       Cu.import("resource://tabmixplus/Places.jsm");
       TabmixPlacesUtils.init(aWindow);

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