[Pkg-mozext-commits] [greasemonkey] 53/55: Refresh patch
David Prévot
taffit at moszumanska.debian.org
Thu Oct 29 15:38:08 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository greasemonkey.
commit 6054e66b6b0f288dd15c113896c882686abea8c6
Author: David Prévot <david at tilapin.org>
Date: Thu Oct 29 11:20:35 2015 -0400
Refresh patch
Git-Dch: Ignore
---
...ng-greasespot.net-on-first-run-after-insta.patch | 21 ++++++++++-----------
1 file changed, 10 insertions(+), 11 deletions(-)
diff --git a/debian/patches/0001-Stop-calling-greasespot.net-on-first-run-after-insta.patch b/debian/patches/0001-Stop-calling-greasespot.net-on-first-run-after-insta.patch
index 91ae8b1..4bcffe6 100644
--- a/debian/patches/0001-Stop-calling-greasespot.net-on-first-run-after-insta.patch
+++ b/debian/patches/0001-Stop-calling-greasespot.net-on-first-run-after-insta.patch
@@ -10,31 +10,30 @@ provided by the toolbar button (automatically installed).
Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/771110
---
- content/config.js | 14 --------------
- 1 file changed, 14 deletions(-)
+ content/config.js | 13 -------------
+ 1 file changed, 13 deletions(-)
diff --git a/content/config.js b/content/config.js
-index b5798ea..5c1a143 100644
+index d0f1e0a..a948ba1 100644
--- a/content/config.js
+++ b/content/config.js
-@@ -279,20 +279,6 @@ Config.prototype._updateVersion = function() {
+@@ -281,19 +281,6 @@ Config.prototype._updateVersion = function() {
// Update the stored current version so we don't do this work again.
GM_prefRoot.setValue("version", newVersion);
- if ("0.0" == oldVersion) {
- // This is the first launch. Show the welcome screen.
- var chromeWin = GM_util.getBrowserWindow();
-- // If we found it, use it to open a welcome tab.
-- if (chromeWin && chromeWin.gBrowser) {
+- if (chromeWin && chromeWin.gBrowser) chromeWin.setTimeout(function() {
- var url = 'http://www.greasespot.net/p/welcome.html'
- + '?utm_source=xpi&utm_medium=xpi&utm_campaign=welcome'
- + '&utm_content=' + newVersion;
- // the setTimeout makes sure we do not execute too early -- sometimes
- // the window isn't quite ready to add a tab yet
-- chromeWin.setTimeout(chromeWin.GM_BrowserUI.openTab, 100, url);
-- }
+- chromeWin.gBrowser.selectedTab = chromeWin.gBrowser.addTab(url);
+- }, 1000);
- }
-
- if ('3.2' == newVersion && oldVersion != newVersion) {
- var tmp_dir = Components
- .classes['@mozilla.org/file/directory_service;1']
+ if (newVersion.match(/^3\.5/) && oldVersion != newVersion) {
+ // #1944 Re-scan config to load new metadata values.
+ var scope = {};
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/greasemonkey.git
More information about the Pkg-mozext-commits
mailing list