[Pkg-privacy-commits] [torbirdy] 21/53: Merge branch 'master' into post-secure-autoconfig

Ulrike Uhlig u-guest at moszumanska.debian.org
Sat Jul 2 20:08:05 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 188fbd679a85dc8909bf0eff46b840112a2bd54b
Merge: 89bf536 caaf2b5
Author: Ulrike Uhlig <u at 451f.org>
Date:   Wed May 4 13:00:23 2016 +0200

    Merge branch 'master' into post-secure-autoconfig

 Makefile                      |  6 ++++++
 chrome/content/emailwizard.js |  4 ++++
 components/torbirdy.js        | 22 +++++++++++++++++++++-
 defaults/preferences/prefs.js |  1 +
 4 files changed, 32 insertions(+), 1 deletion(-)

diff --cc chrome/content/emailwizard.js
index 30024ac,123753b..8218c1b
--- a/chrome/content/emailwizard.js
+++ b/chrome/content/emailwizard.js
@@@ -133,11 -136,17 +133,15 @@@ if(!org.torbirdy.emailwizard) org.torbi
    };
  
    pub.onLoad = function() {
 -    if (disableWizard) {
 +    if (disableAutoConfiguration) {
        document.getElementById("torbirdy-protocol-box").collapsed = true;
 -      document.getElementById("provisioner_button").disabled = false;
 -      document.getElementById("provisioner_button").hidden = false;
 -    } else {
 -      document.getElementById("provisioner_button").disabled = true;
 -      document.getElementById("provisioner_button").hidden = true;
      }
 +    document.getElementById("provisioner_button").disabled = true;
 +    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")
+     document.getElementById("torbirdy-protocol").selectedIndex = selectProtocol;
    };
  
    return pub;

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