[Pkg-mozext-commits] [autofill-forms] 04/05: Drop external welcome screen

David Prévot taffit at moszumanska.debian.org
Wed Jun 24 18:41:02 UTC 2015


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

taffit pushed a commit to branch master
in repository autofill-forms.

commit 0665f009a1abd755bd904a7a25c357983a9d656d
Author: David Prévot <david at tilapin.org>
Date:   Wed Jun 24 14:32:49 2015 -0400

    Drop external welcome screen
    
    Disabling user tracking.
---
 .../0001-Drop-external-welcome-screen.patch        | 33 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 34 insertions(+)

diff --git a/debian/patches/0001-Drop-external-welcome-screen.patch b/debian/patches/0001-Drop-external-welcome-screen.patch
new file mode 100644
index 0000000..7a96980
--- /dev/null
+++ b/debian/patches/0001-Drop-external-welcome-screen.patch
@@ -0,0 +1,33 @@
+From: =?utf-8?q?David_Pr=C3=A9vot?= <david at tilapin.org>
+Date: Wed, 24 Jun 2015 14:31:56 -0400
+Subject: Drop external welcome screen
+
+Disabling user tracking.
+
+Forwarded: not-needed
+---
+ chrome/content/autofillForms.js | 11 -----------
+ 1 file changed, 11 deletions(-)
+
+diff --git a/chrome/content/autofillForms.js b/chrome/content/autofillForms.js
+index a2fec47..56d5349 100644
+--- a/chrome/content/autofillForms.js
++++ b/chrome/content/autofillForms.js
+@@ -124,17 +124,6 @@ var autofillForms = {
+     var self = this;
+     document.addEventListener("SSTabRestored", function (event) {
+       function welcome (version) {
+-        var pre = self.autofillFormsPrefs.getCharPref("version");
+-        if (pre === version) {
+-          return;
+-        }
+-        //Showing welcome screen
+-        setTimeout(function () {
+-          try {
+-            var newTab = getBrowser().addTab(self.autofillFormsPrefs.getCharPref("post_install_url") + "?v=" + version + (pre ? "&p=" + pre + "&type=upgrade" : "&type=install"));
+-            getBrowser().selectedTab = newTab;
+-          }catch (e) {}
+-        }, 5000);
+         self.autofillFormsPrefs.setCharPref("version", version);
+       }
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..0583e55
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Drop-external-welcome-screen.patch

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



More information about the Pkg-mozext-commits mailing list