[Pkg-mozext-commits] [tabmixplus] 11/26: Remove support for Firefox 19 - remove code for opening 'text-link'
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 30fc152b5bdc962109feea9fe2a87afea8fc5be4
Author: onemen <tabmix.onemen at gmail.com>
Date: Sat Mar 12 19:17:45 2016 +0200
Remove support for Firefox 19 - remove code for opening 'text-link'
---
chrome.manifest | 11 -----------
chrome/content/links/links.xul | 3 ---
chrome/content/links/text_link.css | 3 ---
chrome/content/links/text_link.xul | 23 -----------------------
chrome/content/overlay/browsr.css | 5 -----
chrome/content/tab/text.xml | 30 ------------------------------
6 files changed, 75 deletions(-)
diff --git a/chrome.manifest b/chrome.manifest
index ad6b8a3..9f8a3ae 100644
--- a/chrome.manifest
+++ b/chrome.manifest
@@ -53,17 +53,6 @@ overlay about:newtab chrome://tab
overlay chrome://mozapps/content/downloads/unknownContentType.xul chrome://tabmixplus/content/links/removeBlankTab.xul
overlay chrome://mozapps/content/handling/dialog.xul chrome://tabmixplus/content/links/removeBlankTab.xul
-overlay chrome://mozapps/content/extensions/about.xul chrome://tabmixplus/content/links/text_link.xul appversion<20.0a1
-overlay chrome://mozapps/content/update/updates.xul chrome://tabmixplus/content/links/text_link.xul appversion<20.0a1
-overlay chrome://browser/content/pageinfo/pageInfo.xul chrome://tabmixplus/content/links/text_link.xul appversion<20.0a1
-overlay chrome://browser/content/aboutDialog.xul chrome://tabmixplus/content/links/text_link.xul appversion<20.0a1
-overlay chrome://browser/content/sync/setup.xul chrome://tabmixplus/content/links/text_link.xul appversion<20.0a1
-overlay chrome://mozapps/content/update/history.xul chrome://tabmixplus/content/links/text_link.xul appversion<20.0a1
-style chrome://browser/content/preferences/preferences.xul chrome://tabmixplus/content/links/text_link.css appversion<20.0a1
-style about:preferences chrome://tabmixplus/content/links/text_link.css appversion<20.0a1 os=WINNT
-style about:preferences chrome://tabmixplus/content/links/text_link.css appversion<20.0a1 os=Darwin
-style about:preferences#general chrome://tabmixplus/content/links/text_link.css appversion<20.0a1 os=Linux
-
overlay chrome://browser/content/bookmarks/bookmarksPanel.xul chrome://tabmixplus/content/places/places.xul
overlay chrome://browser/content/history/history-panel.xul chrome://tabmixplus/content/places/places.xul
overlay chrome://browser/content/places/places.xul chrome://tabmixplus/content/places/places.xul
diff --git a/chrome/content/links/links.xul b/chrome/content/links/links.xul
index f55b29b..3004869 100644
--- a/chrome/content/links/links.xul
+++ b/chrome/content/links/links.xul
@@ -1,7 +1,5 @@
<?xml version="1.0"?>
-<?xml-stylesheet href="chrome://tabmixplus/content/links/text_link.css" type="text/css"?>
-
<overlay id="tabmixplus-tabprefs-overlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
@@ -20,5 +18,4 @@
]]>
</script>
- <!-- text_link.css fix the links in the EM/TM -->
</overlay>
diff --git a/chrome/content/links/text_link.css b/chrome/content/links/text_link.css
deleted file mode 100644
index b0a442b..0000000
--- a/chrome/content/links/text_link.css
+++ /dev/null
@@ -1,3 +0,0 @@
-label.text-link, label[onclick] {
- -moz-binding: url(chrome://tabmixplus/content/tab/text.xml#tmp-text-link);
-}
diff --git a/chrome/content/links/text_link.xul b/chrome/content/links/text_link.xul
deleted file mode 100644
index 04c53fd..0000000
--- a/chrome/content/links/text_link.xul
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-
-<?xml-stylesheet href="chrome://tabmixplus/content/links/text_link.css" type="text/css"?>
-
-<overlay id="tabmixplus-text-link-overlay"
- xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-
- <script type="application/javascript" src="chrome://tabmixplus/content/utils.js"/>
- <script type="application/javascript" src="chrome://tabmixplus/content/links/userInterface.js"/>
- <script type="application/javascript">
-
- <![CDATA[
- window.addEventListener("load", function TMP_onLoad_linkOverlay(aEvent) {
- aEvent.currentTarget.removeEventListener("load", TMP_onLoad_linkOverlay, false);
- Tabmix.openUILink_init();
- }, false);
- ]]>
-
- </script>
-
- <!-- text_link.css fix the links for "Visit Home Page" in about.xul -->
- <!-- text_link.css fix the links for "view more information..." in updates.xul -->
-</overlay>
diff --git a/chrome/content/overlay/browsr.css b/chrome/content/overlay/browsr.css
index b944f4f..c5a982e 100644
--- a/chrome/content/overlay/browsr.css
+++ b/chrome/content/overlay/browsr.css
@@ -10,11 +10,6 @@ vbox[shortcutsLabels="true"] {
-moz-binding: url(chrome://tabmixplus/content/preferences/shortcutsLabels.xml#shortcut-labels) !important;
}
-/* for Firefox 11.0-19.0, not in use for Firefox 20.0+ */
-label.text-link, label[onclick] {
- -moz-binding: url(chrome://tabmixplus/content/tab/text.xml#tmp-text-link);
-}
-
/* we don't use .tabbrowser-tab > .tab-close-button here
because in some theme the buttons are inside tab-middle
*/
diff --git a/chrome/content/tab/text.xml b/chrome/content/tab/text.xml
deleted file mode 100644
index 0fe022d..0000000
--- a/chrome/content/tab/text.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0"?>
-
-<bindings id="tmp_textbindings"
- xmlns="http://www.mozilla.org/xbl"
- xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
- xmlns:xbl="http://www.mozilla.org/xbl">
-
- <binding id="tmp-text-link" extends="chrome://global/content/bindings/text.xml#text-link">
- <implementation>
- <constructor>
- <![CDATA[
- var topWin = Services.wm.getMostRecentWindow("navigator:browser");
- if (!topWin || topWin.Tabmix.isVersion(200))
- return;
- eval("this.open =" + this.open.toString().replace(
- 'if (uri)',
- 'if (typeof win.Tabmix_openURL != "function") win.Tabmix_openURL = Tabmix.getTopWin().Tabmix.openURL.bind(Tabmix); if (uri)'
- ).replace(
- 'win.open(uri.spec);',
- 'win.Tabmix_openURL(uri.spec, aEvent);'
- ).replace(
- 'win.open(href);',
- 'win.Tabmix_openURL(href, aEvent);'
- ));
- ]]>
- </constructor>
- </implementation>
- </binding>
-
-</bindings>
--
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