[Pkg-mozext-commits] [downthemall] 01/03: Imported Upstream version 2.0.17

Michael Meskes meskes at moszumanska.debian.org
Tue Jun 17 14:07:35 UTC 2014


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

meskes pushed a commit to branch master
in repository downthemall.

commit 9e5247cc1d2fe838570cbaf54bc8098d2eef1a51
Author: Michael Meskes <meskes at debian.org>
Date:   Tue Jun 17 16:02:52 2014 +0200

    Imported Upstream version 2.0.17
---
 META-INF/manifest.mf                               |   8 +-
 META-INF/zigbert.rsa                               | Bin 4437 -> 4437 bytes
 META-INF/zigbert.sf                                |  10 +-
 chrome/chrome.jar!/content/about/index.xml         | 345 +++++++++++++++++++++
 .../content/common/internalFunctions.js            |  39 ++-
 chrome/chrome.jar!/content/dta/addurl.js           |   7 +-
 chrome/chrome.jar!/content/dta/select.js           |   5 +-
 chrome/chrome.jar!/skin/mac/buttons-fx4.css        |  41 +++
 chrome/chrome.jar!/skin/toolbarbuttons/buttons.css |  40 +++
 .../chrome.jar!/skin/toolbarbuttons/buttons32.png  | Bin 0 -> 11946 bytes
 chrome/chrome.jar!/skin/unix/buttons-fx4.css       |  40 +++
 chrome/chrome.jar!/skin/win/buttons-fx4.css        |  41 +++
 install.rdf                                        |   6 +-
 modules/manager/connection.jsm                     |   2 +-
 14 files changed, 562 insertions(+), 22 deletions(-)

diff --git a/META-INF/manifest.mf b/META-INF/manifest.mf
index b586c67..d132f85 100644
--- a/META-INF/manifest.mf
+++ b/META-INF/manifest.mf
@@ -1,8 +1,8 @@
 Manifest-Version: 1.0
-Created-By: xpisign.py (version: 2.0.2; https://github.com/nmaier/xpisign.py); M2Crypto 0.21.1
+Created-By: xpisign.py (version: 2.0.2; https://github.com/nmaier/xpisign.py); M2Crypto 0.22
 
 Name: install.rdf
-SHA1-Digest: /0U0FqzOVPjGUgmQwScezrl+RJo=
+SHA1-Digest: W2bY+zH83vGfVTDyiaTAkPrnrIQ=
 
 Name: chrome.manifest
 SHA1-Digest: okTmGXlXWKBS89bPLw/9y5z+P0c=
@@ -11,7 +11,7 @@ Name: icon.png
 SHA1-Digest: MsXiFy9pCljDLTymOJZSPGj51rw=
 
 Name: chrome/chrome.jar
-SHA1-Digest: gulkiP+suFaHcJ9DAQZF3VG3i6E=
+SHA1-Digest: T+EnQ+VK/hepi4xSRHrBDyLIRwQ=
 
 Name: chrome/icons/default/DownThemAll.ico
 SHA1-Digest: sS6rGiLKMBmfQPX0vKKP7ahJSF4=
@@ -65,7 +65,7 @@ Name: modules/version.jsm
 SHA1-Digest: jIB+n/HvATrIKuUOATuHt5wgocA=
 
 Name: modules/manager/connection.jsm
-SHA1-Digest: OPzxSgL8BWA2vZJjxArsQet+nZ4=
+SHA1-Digest: pyy2wKqcyahSgv3ZD67qBwhjGCs=
 
 Name: modules/manager/decompressor.jsm
 SHA1-Digest: T+e83ooz5wz88Cy9Y7HdCdYPm4E=
diff --git a/META-INF/zigbert.rsa b/META-INF/zigbert.rsa
index 25a3530..343f397 100644
Binary files a/META-INF/zigbert.rsa and b/META-INF/zigbert.rsa differ
diff --git a/META-INF/zigbert.sf b/META-INF/zigbert.sf
index cde88af..bae31c1 100644
--- a/META-INF/zigbert.sf
+++ b/META-INF/zigbert.sf
@@ -1,9 +1,9 @@
 Signature-Version: 1.0
-Created-By: xpisign.py (version: 2.0.2; https://github.com/nmaier/xpisign.py); M2Crypto 0.21.1
-SHA1-Digest: iklZueLyQ2zNRzgAqOuvE1h2E8s=
+Created-By: xpisign.py (version: 2.0.2; https://github.com/nmaier/xpisign.py); M2Crypto 0.22
+SHA1-Digest: ruBk+DuHM15sCwrIp1PrmRCR3ZI=
 
 Name: install.rdf
-SHA1-Digest: pVLVevbcKvqBmSg1Y422VrhYBYk=
+SHA1-Digest: g0s5UZl1xhoMrmls7/VJ2BL10Is=
 
 Name: chrome.manifest
 SHA1-Digest: 9ud8zTwObTmdt8QEo87gNtQflkU=
@@ -12,7 +12,7 @@ Name: icon.png
 SHA1-Digest: PkQqsqFzd2x7jceqZr7DLewvWdY=
 
 Name: chrome/chrome.jar
-SHA1-Digest: WnpKGSb7Yet1xMh3NuN+2HIMk0g=
+SHA1-Digest: RljfNUJm9vtpXxES6wo+GZKm6yA=
 
 Name: chrome/icons/default/DownThemAll.ico
 SHA1-Digest: hiOTeF7wcn2LnZ7gUB2kjWxsQYw=
@@ -66,7 +66,7 @@ Name: modules/version.jsm
 SHA1-Digest: UXJf1ymcq6jHqteZwNnTEj2WJoE=
 
 Name: modules/manager/connection.jsm
-SHA1-Digest: 0mbtLnvzaN/w9yBkuUsq0qaIJgY=
+SHA1-Digest: ZAoboocG8sOk4PhAcwKaDJFHOpo=
 
 Name: modules/manager/decompressor.jsm
 SHA1-Digest: r+aIb+FTOhnBDL+0ZrAbEepdKIM=
diff --git a/chrome/chrome.jar!/content/about/index.xml b/chrome/chrome.jar!/content/about/index.xml
new file mode 100644
index 0000000..9398ec7
--- /dev/null
+++ b/chrome/chrome.jar!/content/about/index.xml
@@ -0,0 +1,345 @@
+<?xml version="1.0"?>
+<!DOCTYPE html [
+	<!ENTITY % landingpageDTD SYSTEM "chrome://dta/locale/landingpage.dtd">
+	%landingpageDTD;
+	
+	<!ENTITY % htmlDTD PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+	%htmlDTD;	
+]>
+<html xmlns="http://www.w3.org/1999/xhtml" localedir="&lp.localedir;">
+	<head>
+		<title>&lp.title;
+		</title>
+	</head>
+	<style type="text/css">
+		html {
+		max-width: 60em;
+		padding: 2ex;
+		}
+		.alwaysleft {
+		direction: ltr !important;
+		background: lightgray;
+		}
+		.localizable {
+		border: 2px dashed red;
+		padding: 2ex;
+		}
+		html[localedir="rtl"] .localizable {
+		direction: rtl;
+		}
+		html[localedir="rtl"] .alwaysleft {
+		background: lightgray;
+		}
+		.player {
+		width: 300px;
+		height: 200px;
+		color: green;
+		border: 1px solid green;
+		padding: 50px;
+		margin-left: auto;
+		margin-right: auto;
+		text-align:center;
+		}
+
+		.info {
+		font-size: large;
+		}
+		.remark {
+		font-size: small;
+		text-align: right;
+		}
+		.note {
+		font-size: small;
+		color: darkgray;
+		}
+		*[localedir="rtl"] .remark {
+		text-align: left;
+		}
+</style>
+
+
+	<body>
+		<h1>Welcome Localizer</h1>
+		<p>
+			First of all:
+			<strong>Many thanks for your past and future contributions. Without those DownThemAll! wouldn't be such a successful addons and far less usable to a lot of people.</strong>
+		</p>
+		<p>This is the new "landing page" designed to give babelzilla.org localizers a way to translate things that are not directly part of dTa, or at least not directly accessible from the normal user interface.</p>
+		<h2>Usage</h2>
+		<p>This page will let you translate the various bits for addons.mozilla.org and the new "landing page".</p>
+		<p>Texts will be taken from <code>landingpage.dtd</code>.</p>
+		<p>A translatable block looks like this:</p>
+		<p class="localizable">Translate me
+			<div class="alwaysleft">Always left (for right-to-left locales)</div>
+		</p>
+		<p>
+			<em>Important</em>: If you change anything on this page after we release the next major version to the public then drop us a note in babelzilla about that.
+			Else we might miss to update those changes, as they won't be automatically packed into the extension.
+		</p>
+		<h2>General hints</h2>
+		<ul>
+			<li>We intent not to change any string within the 2.0 series. This already worked pretty well for the 1.1 time series. That is: there shouldn't be any changes in the point releases (e.g. 2.0.1, 2.0.10).</li>
+			<li>We tried to carry over as much of the 1.1 translations as possible. We, however, deleted any updated or removed strings, so you don't have to care about those. Therefore it is strongly recommend to use the strings contained within this XPI, if you're not using the WTS.</li>
+			<li>Please stick to the correct "spelling" of DownThemAll!<ul>
+				<li>It is <strong>DownThemAll!</strong> not <del>DOWNTHEMALL!</del> or <del>downTHEMall!</del></li>
+				<li>It is <strong>dTa</strong> not <del>DTA</del> or <del>dta</del></li>
+			</ul></li>
+			<li>DownThemAll! Manager will by default now use the "Icons" mode in the toolbar. Please make sure to check the texts as well, by right-clicking the toolbar and selecting text and icons.</li>
+			<li>Please adjust the preference window width (and maybe height). See <code>prefpanes.dtd:winstyle</code>. There is currently no way to autofit-resize the window automatically, so please choose decent values to avoid cutting-off parts of the window contents.</li>
+			<li>An often missed feature is Metalink support. Please make sure to test that dialog and your translations as well. Please check out some of the <a href="http://metalinker.org/samples.html#3examples">example metalinks</a>.</li>
+		</ul>
+
+		<h1>addons.mozilla.org localizations</h1>
+		<p>Various texts for addons.mozilla.org</p>
+		<h2>Summary</h2>
+		<p class="localizable">&amo.summary;</p>
+
+		<h2>Description</h2>
+		<div class="localizable">
+			<p>&amo.description.intro;</p>
+			<p>&amo.description.feat;</p>
+			<p>&amo.description.free;</p>
+			<p>&amo.description.more;</p>
+		</div>
+
+
+		<h1>Landing page</h1>
+		<p>
+			The new landing page will be shown after initial installation and whenever a user upgrades a major release (e.g. 1.1 -> 2.0, but not 2.0.1 -> 2.0.2)
+			<br />
+			The landing page consists of a header and some "tabs". The header is always visible, while only one tab is visible at a time.
+		</p>
+		<p>
+			The real page is always accessible at
+			<a href="http://code.downthemall.net/about/2.0b2/">http://code.downthemall.net/about/2.0b2/</a>, but will later be displayed via about:downthemall.
+			<br />
+			We will try to regenerate the page on the server once you mark your localization either "testing" or "released" in the pre-release (beta) phase.
+		</p>
+		<p>This version of the landing page elements will not be fully themed. Browse the about URL to get an idea what the final result will look like.</p>
+
+		<h2>Header</h2>
+		<p>Displayed on top.</p>
+		<div id="welcome" class="localizable">
+			<h1>&lp.welcome;
+			</h1>
+			<p class="info">&lp.info;
+			</p>
+			<p class="remark">&lp.moreinfo;
+			</p>
+			<p class="donate remark">&lp.donate;</p>
+		</div>
+		<h2>Tab headlines</h2>
+		<p>The site will feature various "tabs". The following are the headlines for each tab.</p>
+		<div id="pager">
+			<div class="pager pager-with-tabs pager-no-history localizable">
+				<ul class="pager-tabs">
+					<li class="first">
+						<a href="#tutorial">&lp.gettingstarted;
+						</a>
+					</li>
+					<li>
+						<a href="#toolbar">&lp.toolbar;
+						</a>
+					</li>
+					<li>
+						<a href="#privacy">&lp.privacy;
+						</a>
+					</li>
+					<li>
+						<a href="#license">&lp.yourrights;
+						</a>
+					</li>
+					<li class="last">
+						<a href="#contact">&lp.contact;
+						</a>
+					</li>
+				</ul>
+			</div>
+		</div>
+		<div id="content">
+			<h2>Welcome page/tutorial</h2>
+			<div id="tutorial" class="localizable">
+				<h2>&lp.tut.firsttitle;
+				</h2>
+				<div class="player" href="first-download">Video: First download</div>
+				<p>&lp.tut.fd1;
+				</p>
+
+				<h2>&lp.tut.selecttitle;
+				</h2>
+				<div class="player" href="select-window">Video: Selection window</div>
+				<p>&lp.tut.selintro;</p>
+				<p>&lp.tut.seloptions;</p>
+				<ul>
+					<li>&lp.tut.selopthand;</li>
+					<li>&lp.tut.seloptfilters;</li>
+					<li>&lp.tut.seloptfast;</li>
+				</ul>
+				<p>&lp.tut.seltypes;</p>
+				<ol>
+					<li>&lp.tut.seltypelinks;</li>
+					<li>&lp.tut.seltypepics;</li>
+				</ol>
+				<p class="note">&lp.tut.selgalleries;</p>
+				<p>&lp.tut.seldone;</p>
+
+				<h2>&lp.tut.oneclicktitle;
+				</h2>
+				<p>&lp.tut.oneclick1;
+				</p>
+				<p>&lp.tut.oneclick2;
+				</p>
+				<p class="note">&lp.pleasenote; &lp.tut.oneclickn;
+				</p>
+
+
+				<h2>&lp.tut.batchestitle;
+				</h2>
+				<div class="player" href="batches">Video: batch downloads</div>
+				<p>&lp.tut.batches1;
+				</p>
+				<p>&lp.tut.batches2;
+				</p>
+				<p>&lp.tut.batches3;
+				</p>
+			</div>
+			<h2>Toolbar/tutorial</h2>
+			<div id="toolbar" class="localizable">
+				<p>&lp.tb.intro;
+				</p>
+				<h2>&lp.tb.add.title;</h2>
+				<div class="player" href="toolbar-add">Video: Add toolbar items</div>
+				<p>&lp.tb.add.p1;</p>
+				<ul id="tbitems">
+					<li id="tbdta"><span>&lp.tb.add.dta;</span><br/>&lp.tb.add.dtadesc;</li>
+					<li id="tbtdta"><span>&lp.tb.add.tdta;</span><br/>&lp.tb.add.tdtadesc;</li>
+					<li id="tbmanager"><span>&lp.tb.add.manager;</span><br/>&lp.tb.add.managerdesc;</li>
+					<li id="tbselector"><span>&lp.tb.add.selector;</span><br/>&lp.tb.add.selectordesc;</li>
+				</ul>
+				<p>&lp.tb.add.p2;</p>
+
+				<h3>&lp.tb.dnd.title;</h3>
+				<div class="player" href="dnd">Video: Drag'n'Drop</div>
+				<p>&lp.tb.dnd.p1;<br/>&lp.tb.dnd.p2;</p>
+				<p>&lp.tb.dnd.p3;</p>
+
+				<h3>&lp.tb.selector.title;</h3>
+				<div class="player" href="selector">Video: Selector</div>
+				<p>&lp.tb.selector.p1;</p>
+				<p>&lp.tb.selector.p2;</p>
+			</div>
+			<h2>Privacy information</h2>
+			<div id="privacy" class="localizable">
+				<h2>&lp.pr.title;</h2>
+				<p>&lp.pr.intro;</p>
+				<p>&lp.pr.settings;</p>
+				<p>&lp.pr.pbm;</p>
+				<p>&lp.pr.diag;</p>
+				<p>&lp.pr.link;</p>
+			</div>
+			<h2>License/Your rights</h2>
+			<div id="license" class="localizable">
+				<h2>&lp.yr.usagetitle;
+				</h2>
+				<p>&lp.yr.usage;
+				</p>
+				<ul id="rightsexplained">
+					<li id="mayuse">&lp.yr.usageuse;
+					</li>
+					<li id="maymodify">&lp.yr.usagemod;
+					</li>
+					<li id="mayshare">&lp.yr.usagedist;
+					</li>
+				</ul>
+				<p id="morelicense">&lp.yr.usagemore;
+				</p>
+
+				<h2>&lp.yr.licensetitle;
+				</h2>
+
+				<p class="alwaysleft aligntolocale">
+					Copyright © 2004-2007 Federico Parodi and Stefano Verna
+					<br />
+					Copyright © 2007-2010 Nils Maier, Federico Parodi and Stefano Verna
+				</p>
+
+				<p>&lp.yr.licensed;
+				</p>
+
+				<p>&lp.yr.morelicense;
+				</p>
+
+				<p>&lp.yr.gplintro;
+				</p>
+
+				<h3 class="alwaysleft">NO WARRANTY</h3>
+				<p class="alwaysleft">11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+					FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+					OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+					PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+					OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+					MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+					TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+					PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+					REPAIR OR CORRECTION.</p>
+
+				<p class="alwaysleft">12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+					WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+					REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+					INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+					OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+					TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+					YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+					PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+					POSSIBILITY OF SUCH DAMAGES.</p>
+
+				<h3>&lp.yr.icons;
+				</h3>
+				<p>&lp.yr.iconsbased;
+				</p>
+				<ul class="alwaysleft aligntolocale">
+					<li>© Michael Matas,</li>
+					<li>© Jakub Steiner, © Novell, Inc.</li>
+					<li>© Mark James (famfamfam silk icons)</li>
+					<li>Tango Project - public domain</li>
+				</ul>
+
+				<p>&lp.yr.artwork;
+					<br />
+		&lp.yr.artworklicense;
+				</p>
+				<ul class="cc alwaysleft aligntolocale">
+					<li>
+						<a href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution-Share Alike 3.0 Unported</a>
+					</li>
+				</ul>
+
+				<p>&lp.yr.logo;
+					<br />
+		&lp.yr.logopermissions;
+				</p>
+
+				<h3>&lp.languagetitle;
+				</h3>
+				<p>
+					<strong>&language; &lp.translation.by;
+					</strong> &transAutor;
+				</p>
+			</div>
+			<h2>&lp.ct.contactstitle;</h2>
+			<div id="contacts" class="localizable">
+				<h2>&lp.ct.bugstitle;
+				</h2>
+				<p>&lp.ct.bugs;
+				</p>
+
+				<h2>&lp.ct.contactstitle;
+				</h2>
+				<p>&lp.ct.contactsfeed;
+				</p>
+				<p>&lp.ct.contacts;
+				</p>
+			</div>
+		</div>
+	</body>
+</html>
diff --git a/chrome/chrome.jar!/content/common/internalFunctions.js b/chrome/chrome.jar!/content/common/internalFunctions.js
index 8cf6a5d..412ace4 100644
--- a/chrome/chrome.jar!/content/common/internalFunctions.js
+++ b/chrome/chrome.jar!/content/common/internalFunctions.js
@@ -428,11 +428,38 @@ function hash(value, algorithm, encoding, datalen) {
 	_ic.loadWindow(window);
 })();
 
-__defineGetter__("DefaultDownloadsDirectory", function() {
-	let dlm = Cc["@mozilla.org/download-manager;1"].getService(Ci.nsIDownloadManager);
+const getDefaultDownloadsDirectory = (function() {
+	function oldFallback(callback) {
+		let dlm = Cc["@mozilla.org/download-manager;1"].getService(Ci.nsIDownloadManager);
+		var dir;
+		try {
+			dir = dlm.userDownloadsDirectory;	
+		}
+		catch (ex) {
+			dir = dlm.defaultDownloadsDirectory;
+		}
+		callback(dir.path);
+	}
+
 	try {
-		return dlm.userDownloadsDirectory;	
+		let Downloads = Cu.import("resource://gre/modules/Downloads.jsm", {}).Downloads;
+		if (!Downloads.getPreferredDownloadsDirectory) {
+			throw new Error("not supported");
+		}
+		return function newDownloads(callback) {
+			var p = Downloads.getPreferredDownloadsDirectory();
+			if (!p) {
+				oldFallback(callback);
+				return;
+			}
+			p.then(function success(r) {
+				callback(r);
+			}, function fail(e) {
+				oldFallback(callback);
+			});
+		};
 	}
-	catch (ex) {}
-	return dlm.defaultDownloadsDirectory;
-});
+	catch (ex) {
+		return oldFallback;
+	}
+})();
\ No newline at end of file
diff --git a/chrome/chrome.jar!/content/dta/addurl.js b/chrome/chrome.jar!/content/dta/addurl.js
index 8abdee5..a489e74 100644
--- a/chrome/chrome.jar!/content/dta/addurl.js
+++ b/chrome/chrome.jar!/content/dta/addurl.js
@@ -1,5 +1,5 @@
 /* You may find the license in the LICENSE file */
- 
+
 let Prompts = {};
 Components.utils.import('resource://dta/prompts.jsm', Prompts);
 Components.utils.import('resource://dta/version.jsm');
@@ -23,7 +23,10 @@ var Dialog = {
 		try {
 			this.ddDirectory = $("directory");
 			if (!this.ddDirectory.value) {
-				this.ddDirectory.value = DefaultDownloadsDirectory.path;
+				let tp = this;
+				getDefaultDownloadsDirectory(function(path) {
+					tp.ddDirectory.value = path;
+				});
 			}			
 			this.ddRenaming = $("renaming");			
 			var address = $('address');
diff --git a/chrome/chrome.jar!/content/dta/select.js b/chrome/chrome.jar!/content/dta/select.js
index e4fbcb3..9f53956 100644
--- a/chrome/chrome.jar!/content/dta/select.js
+++ b/chrome/chrome.jar!/content/dta/select.js
@@ -274,7 +274,10 @@ let Dialog = {
 		this.ddFilter = $('filter');
 		this.ddDirectory = $('directory');
 		if (!this.ddDirectory.value) {
-			this.ddDirectory.value = DefaultDownloadsDirectory.path;
+			let tp = this;
+			getDefaultDownloadsDirectory(function(path) {
+				tp.ddDirectory.value = path;
+			});
 		}
 		this.ddRenaming = $('renaming');
 		
diff --git a/chrome/chrome.jar!/skin/mac/buttons-fx4.css b/chrome/chrome.jar!/skin/mac/buttons-fx4.css
index b3f286a..b01a111 100644
--- a/chrome/chrome.jar!/skin/mac/buttons-fx4.css
+++ b/chrome/chrome.jar!/skin/mac/buttons-fx4.css
@@ -8,24 +8,65 @@
 	list-style-image: url(buttons16.png);
 }
 
+.dta-toolbarbutton[cui-areatype="menu-panel"],
+#customization-container .dta-toolbarbutton {
+	list-style-image: url(buttons32.png) !important;
+}
+
 #dta-button {
 	-moz-image-region: rect(0px,32px,16px,16px);
 }
 #dta-button:hover {
 	-moz-image-region: rect(0px,16px,16px,0px);
 }
+#dta-button[cui-areatype="menu-panel"],
+#customization-container #dta-button,
+#customization-container #dta-button:hover {
+	-moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton");
+	-moz-box-align: center;
+	-moz-box-orient: vertical !important;
+	-moz-image-region: rect(0px,64px,32px,32px);
+}
+#dta-button[cui-areatype="menu-panel"]:hover {
+	-moz-image-region: rect(0px,32px,32px,0px);
+}
+
 #dta-turbo-button {
 	-moz-image-region: rect(0px,64px,16px,48px);
 }
 #dta-turbo-button:hover {
 	-moz-image-region: rect(0px,48px,16px,32px);
 }
+#dta-turbo-button[cui-areatype="menu-panel"],
+#customization-container #dta-turbo-button,
+#customization-container #dta-turbo-button:hover {
+	-moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton");
+	-moz-box-align: center;
+	-moz-box-orient: vertical !important;
+	-moz-image-region: rect(0px,128px,32px,96px);
+}
+#dta-turbo-button[cui-areatype="menu-panel"]:hover {
+	-moz-image-region: rect(0px,96px,32px,64px);
+}
+
 #dta-turboselect-button {
 	-moz-image-region: rect(0px,96px,16px,80px);
 }
 #dta-turboselect-button:hover {
 	-moz-image-region: rect(0px,80px,16px,64px);
 }
+#dta-turboselect-button[cui-areatype="menu-panel"],
+#customization-container #dta-turboselect-button,
+#customization-container #dta-turboselect-button:hover {
+	-moz-image-region: rect(0px,192px,32px,160px);
+}
+#dta-turboselect-button[cui-areatype="menu-panel"]:hover {
+	-moz-image-region: rect(0px,160px,32px,128px);
+}
+#dta-manager-button[cui-areatype="menu-panel"],
+#customization-container #dta-manager-button {
+	-moz-image-region: rect(0px, 224px,32px,192px);
+}
 #dta-manager-button {
 	-moz-image-region: rect(0px, 112px, 16px, 96px);
 }
\ No newline at end of file
diff --git a/chrome/chrome.jar!/skin/toolbarbuttons/buttons.css b/chrome/chrome.jar!/skin/toolbarbuttons/buttons.css
index 9e56616..5826aa4 100644
--- a/chrome/chrome.jar!/skin/toolbarbuttons/buttons.css
+++ b/chrome/chrome.jar!/skin/toolbarbuttons/buttons.css
@@ -16,6 +16,11 @@ toolbar[iconsize="small"] .dta-toolbarbutton {
 	list-style-image: url(buttons16.png);
 }
 
+.dta-toolbarbutton[cui-areatype="menu-panel"],
+#customization-container .dta-toolbarbutton {
+	list-style-image: url(buttons32.png) !important;
+}
+
 #dta-button {
 	-moz-image-region: rect(0px,48px,24px,24px);
 }
@@ -28,6 +33,17 @@ toolbar[iconsize="small"] #dta-button {
 toolbar[iconsize="small"] #dta-button:hover {
 	-moz-image-region: rect(0px,16px,16px,0px);
 }
+#dta-button[cui-areatype="menu-panel"],
+#customization-container #dta-button,
+#customization-container #dta-button:hover {
+	-moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton");
+	-moz-box-align: center;
+	-moz-box-orient: vertical !important;
+	-moz-image-region: rect(0px,64px,32px,32px);
+}
+#dta-button[cui-areatype="menu-panel"]:hover {
+	-moz-image-region: rect(0px,32px,32px,0px);
+}
 
 #dta-turbo-button {
 	-moz-image-region: rect(0px,96px,24px,72px);
@@ -41,6 +57,18 @@ toolbar[iconsize="small"] #dta-turbo-button {
 toolbar[iconsize="small"] #dta-turbo-button:hover {
 	-moz-image-region: rect(0px,48px,16px,32px);
 }
+#dta-turbo-button[cui-areatype="menu-panel"],
+#customization-container #dta-turbo-button,
+#customization-container #dta-turbo-button:hover {
+	-moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton");
+	-moz-box-align: center;
+	-moz-box-orient: vertical !important;
+	-moz-image-region: rect(0px,128px,32px,96px);
+}
+#dta-turbo-button[cui-areatype="menu-panel"]:hover {
+	-moz-image-region: rect(0px,96px,32px,64px);
+}
+
 
 #dta-turboselect-button {
 	-moz-image-region: rect(0px,144px,24px,120px);
@@ -54,10 +82,22 @@ toolbar[iconsize="small"] #dta-turboselect-button {
 toolbar[iconsize="small"] #dta-turboselect-button:hover {
 	-moz-image-region: rect(0px,80px,16px,64px);
 }
+#dta-turboselect-button[cui-areatype="menu-panel"],
+#customization-container #dta-turboselect-button,
+#customization-container #dta-turboselect-button:hover {
+	-moz-image-region: rect(0px,192px,32px,160px);
+}
+#dta-turboselect-button[cui-areatype="menu-panel"]:hover {
+	-moz-image-region: rect(0px,160px,32px,128px);
+}
 
 #dta-manager-button {
 	-moz-image-region: rect(0px,168px,24px,144px);
 }
 toolbar[iconsize="small"] #dta-manager-button {
 	-moz-image-region: rect(0px, 112px, 16px, 96px);
+}
+#dta-manager-button[cui-areatype="menu-panel"],
+#customization-container #dta-manager-button {
+	-moz-image-region: rect(0px, 224px,32px,192px);
 }
\ No newline at end of file
diff --git a/chrome/chrome.jar!/skin/toolbarbuttons/buttons32.png b/chrome/chrome.jar!/skin/toolbarbuttons/buttons32.png
new file mode 100644
index 0000000..660474d
Binary files /dev/null and b/chrome/chrome.jar!/skin/toolbarbuttons/buttons32.png differ
diff --git a/chrome/chrome.jar!/skin/unix/buttons-fx4.css b/chrome/chrome.jar!/skin/unix/buttons-fx4.css
index 9e56616..5826aa4 100644
--- a/chrome/chrome.jar!/skin/unix/buttons-fx4.css
+++ b/chrome/chrome.jar!/skin/unix/buttons-fx4.css
@@ -16,6 +16,11 @@ toolbar[iconsize="small"] .dta-toolbarbutton {
 	list-style-image: url(buttons16.png);
 }
 
+.dta-toolbarbutton[cui-areatype="menu-panel"],
+#customization-container .dta-toolbarbutton {
+	list-style-image: url(buttons32.png) !important;
+}
+
 #dta-button {
 	-moz-image-region: rect(0px,48px,24px,24px);
 }
@@ -28,6 +33,17 @@ toolbar[iconsize="small"] #dta-button {
 toolbar[iconsize="small"] #dta-button:hover {
 	-moz-image-region: rect(0px,16px,16px,0px);
 }
+#dta-button[cui-areatype="menu-panel"],
+#customization-container #dta-button,
+#customization-container #dta-button:hover {
+	-moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton");
+	-moz-box-align: center;
+	-moz-box-orient: vertical !important;
+	-moz-image-region: rect(0px,64px,32px,32px);
+}
+#dta-button[cui-areatype="menu-panel"]:hover {
+	-moz-image-region: rect(0px,32px,32px,0px);
+}
 
 #dta-turbo-button {
 	-moz-image-region: rect(0px,96px,24px,72px);
@@ -41,6 +57,18 @@ toolbar[iconsize="small"] #dta-turbo-button {
 toolbar[iconsize="small"] #dta-turbo-button:hover {
 	-moz-image-region: rect(0px,48px,16px,32px);
 }
+#dta-turbo-button[cui-areatype="menu-panel"],
+#customization-container #dta-turbo-button,
+#customization-container #dta-turbo-button:hover {
+	-moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton");
+	-moz-box-align: center;
+	-moz-box-orient: vertical !important;
+	-moz-image-region: rect(0px,128px,32px,96px);
+}
+#dta-turbo-button[cui-areatype="menu-panel"]:hover {
+	-moz-image-region: rect(0px,96px,32px,64px);
+}
+
 
 #dta-turboselect-button {
 	-moz-image-region: rect(0px,144px,24px,120px);
@@ -54,10 +82,22 @@ toolbar[iconsize="small"] #dta-turboselect-button {
 toolbar[iconsize="small"] #dta-turboselect-button:hover {
 	-moz-image-region: rect(0px,80px,16px,64px);
 }
+#dta-turboselect-button[cui-areatype="menu-panel"],
+#customization-container #dta-turboselect-button,
+#customization-container #dta-turboselect-button:hover {
+	-moz-image-region: rect(0px,192px,32px,160px);
+}
+#dta-turboselect-button[cui-areatype="menu-panel"]:hover {
+	-moz-image-region: rect(0px,160px,32px,128px);
+}
 
 #dta-manager-button {
 	-moz-image-region: rect(0px,168px,24px,144px);
 }
 toolbar[iconsize="small"] #dta-manager-button {
 	-moz-image-region: rect(0px, 112px, 16px, 96px);
+}
+#dta-manager-button[cui-areatype="menu-panel"],
+#customization-container #dta-manager-button {
+	-moz-image-region: rect(0px, 224px,32px,192px);
 }
\ No newline at end of file
diff --git a/chrome/chrome.jar!/skin/win/buttons-fx4.css b/chrome/chrome.jar!/skin/win/buttons-fx4.css
index b3f286a..b01a111 100644
--- a/chrome/chrome.jar!/skin/win/buttons-fx4.css
+++ b/chrome/chrome.jar!/skin/win/buttons-fx4.css
@@ -8,24 +8,65 @@
 	list-style-image: url(buttons16.png);
 }
 
+.dta-toolbarbutton[cui-areatype="menu-panel"],
+#customization-container .dta-toolbarbutton {
+	list-style-image: url(buttons32.png) !important;
+}
+
 #dta-button {
 	-moz-image-region: rect(0px,32px,16px,16px);
 }
 #dta-button:hover {
 	-moz-image-region: rect(0px,16px,16px,0px);
 }
+#dta-button[cui-areatype="menu-panel"],
+#customization-container #dta-button,
+#customization-container #dta-button:hover {
+	-moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton");
+	-moz-box-align: center;
+	-moz-box-orient: vertical !important;
+	-moz-image-region: rect(0px,64px,32px,32px);
+}
+#dta-button[cui-areatype="menu-panel"]:hover {
+	-moz-image-region: rect(0px,32px,32px,0px);
+}
+
 #dta-turbo-button {
 	-moz-image-region: rect(0px,64px,16px,48px);
 }
 #dta-turbo-button:hover {
 	-moz-image-region: rect(0px,48px,16px,32px);
 }
+#dta-turbo-button[cui-areatype="menu-panel"],
+#customization-container #dta-turbo-button,
+#customization-container #dta-turbo-button:hover {
+	-moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton");
+	-moz-box-align: center;
+	-moz-box-orient: vertical !important;
+	-moz-image-region: rect(0px,128px,32px,96px);
+}
+#dta-turbo-button[cui-areatype="menu-panel"]:hover {
+	-moz-image-region: rect(0px,96px,32px,64px);
+}
+
 #dta-turboselect-button {
 	-moz-image-region: rect(0px,96px,16px,80px);
 }
 #dta-turboselect-button:hover {
 	-moz-image-region: rect(0px,80px,16px,64px);
 }
+#dta-turboselect-button[cui-areatype="menu-panel"],
+#customization-container #dta-turboselect-button,
+#customization-container #dta-turboselect-button:hover {
+	-moz-image-region: rect(0px,192px,32px,160px);
+}
+#dta-turboselect-button[cui-areatype="menu-panel"]:hover {
+	-moz-image-region: rect(0px,160px,32px,128px);
+}
+#dta-manager-button[cui-areatype="menu-panel"],
+#customization-container #dta-manager-button {
+	-moz-image-region: rect(0px, 224px,32px,192px);
+}
 #dta-manager-button {
 	-moz-image-region: rect(0px, 112px, 16px, 96px);
 }
\ No newline at end of file
diff --git a/install.rdf b/install.rdf
index bb0eee0..47e104f 100644
--- a/install.rdf
+++ b/install.rdf
@@ -4,7 +4,7 @@
 		<em:id>{DDC359D1-844A-42a7-9AA1-88A850A938A8}</em:id>
 		<em:name>DownThemAll!</em:name>
 		<em:description>The mass downloader for Firefox.</em:description>
-		<em:version>2.0.16</em:version>
+		<em:version>2.0.17</em:version>
 
 		<em:creator>Federico Parodi, Stefano Verna, Nils Maier</em:creator>
 
@@ -22,7 +22,7 @@
 			<Description>
 				<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
 				<em:minVersion>3.6</em:minVersion>
-				<em:maxVersion>22.*</em:maxVersion>
+				<em:maxVersion>31.*</em:maxVersion>
 			</Description>
 		</em:targetApplication>
 
@@ -31,7 +31,7 @@
 			<Description>
 				<em:id>{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}</em:id>
 				<em:minVersion>2.1</em:minVersion>
-				<em:maxVersion>2.19.*</em:maxVersion>
+				<em:maxVersion>2.28.*</em:maxVersion>
 			</Description>
 		</em:targetApplication>
 
diff --git a/modules/manager/connection.jsm b/modules/manager/connection.jsm
index 076b6df..67f2419 100644
--- a/modules/manager/connection.jsm
+++ b/modules/manager/connection.jsm
@@ -553,7 +553,7 @@ Connection.prototype = {
 
 		if (visitor.fileName && visitor.fileName.length > 0) {
 			// if content disposition hasn't an extension we use extension of URL
-			let newName = visitor.fileName.replace(/\\/g, '').getUsableFileNameWithFlatten();
+			let newName = visitor.fileName.replace(/\\|\?/g, '_').getUsableFileNameWithFlatten();
 			let ext = this.url.usable.getExtension();
 			if (visitor.fileName.lastIndexOf('.') == -1 && ext) {
 				newName += ('.' + ext);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/downthemall.git



More information about the Pkg-mozext-commits mailing list