[Pkg-privacy-commits] [torbirdy] 43/53: Update comments and fix typo

Ulrike Uhlig u-guest at moszumanska.debian.org
Sat Jul 2 20:08:08 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 454ceb1023f316331bc5e800aaf3969c22c92266
Author: Sukhbir Singh <sukhbir at torproject.org>
Date:   Mon Jun 6 01:14:52 2016 -0400

    Update comments and fix typo
---
 chrome/content/emailwizard.js | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/chrome/content/emailwizard.js b/chrome/content/emailwizard.js
index 2c0828a..2da6ad7 100644
--- a/chrome/content/emailwizard.js
+++ b/chrome/content/emailwizard.js
@@ -130,11 +130,12 @@ if(!org.torbirdy.emailwizard) org.torbirdy.emailwizard = new function() {
       window.close();
     }
     else {
+      // If the autoconfig wizard is enabled, or we are running in Tails.
       var prefer_pop = Preferences.get("extensions.torbirdy.defaultprotocol") != 1;
-      // Both of these monkeypatches hook in only to change the
-      // selection default (POP vs IMAP according to our pref) at
-      // suitable times, i.e. when the page has been pre-filled and is
-      // finally presented to user action.
+      // Both of these monkeypatches hook in only to change the selection
+      // default (POP vs IMAP according to our pref) at suitable times, i.e.
+      // when the page has been pre-filled and is finally presented to user
+      // action.
       var result_imappop_hacks_run_once = false;
       var old_displayConfigResult = gEmailConfigWizard.displayConfigResult;
       gEmailConfigWizard.displayConfigResult = function(config) {
@@ -143,9 +144,9 @@ if(!org.torbirdy.emailwizard) org.torbirdy.emailwizard = new function() {
         if (radiogroup.hidden) {
           return;
         }
-        // We can only run the monkeypatch code below once -- this
-        // method is called every time we change selection, preventing
-        // us from changing the selection away from POP.
+        // We can only run the monkeypatch code below once -- this method is
+        // called every time we change selection, preventing us from changing
+        // the selection away from POP.
         if (result_imappop_hacks_run_once) {
           return;
         }
@@ -161,7 +162,7 @@ if(!org.torbirdy.emailwizard) org.torbirdy.emailwizard = new function() {
       gEmailConfigWizard._fillManualEditFields = function(config) {
         old_fillManualEditFields.call(this, config);
         if (prefer_pop) {
-          // In this itemlist, POP is located at index 1.
+          // In this itemlist, POP3 is located at index 1.
           document.getElementById("incoming_protocol").selectedIndex = 1;
           gEmailConfigWizard.onChangedProtocolIncoming();
         }

-- 
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