[Pkg-privacy-commits] [torbirdy] 23/53: Update fetching preference value for default protocol

Ulrike Uhlig u-guest at moszumanska.debian.org
Sat Jul 2 20:08:06 UTC 2016


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

u-guest pushed a commit to annotated tag 0.2.0
in repository torbirdy.

commit 602b5d8f7d342ec86f3494791e65ecc5bfd097a6
Author: Sukhbir Singh <sukhbir at torproject.org>
Date:   Wed May 4 13:35:53 2016 -0400

    Update fetching preference value for default protocol
---
 chrome/content/emailwizard.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/emailwizard.js b/chrome/content/emailwizard.js
index 8218c1b..0223e7a 100644
--- a/chrome/content/emailwizard.js
+++ b/chrome/content/emailwizard.js
@@ -140,7 +140,7 @@ if(!org.torbirdy.emailwizard) org.torbirdy.emailwizard = new function() {
     document.getElementById("provisioner_button").hidden = true;
 
     // 0 is for POP3 (default), 1 is for IMAP. See emailwizard.xul and prefs.js.
-    var selectProtocol = prefs.getIntPref("extensions.torbirdy.defaultprotocol")
+    var selectProtocol = Preferences.get("extensions.torbirdy.defaultprotocol")
     document.getElementById("torbirdy-protocol").selectedIndex = selectProtocol;
   };
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/torbirdy.git



More information about the Pkg-privacy-commits mailing list