[tor-commits] [torbirdy/master] Log when preferences are set

sukhbir at torproject.org sukhbir at torproject.org
Sun Aug 18 23:05:14 UTC 2013


commit 4e4067b957b685a466638c351e9cc08a3200d82b
Author: Sukhbir Singh <sukhbir at torproject.org>
Date:   Sun Aug 18 19:03:32 2013 -0400

    Log when preferences are set
---
 components/torbirdy.js |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/torbirdy.js b/components/torbirdy.js
index 85293bb..46053c0 100644
--- a/components/torbirdy.js
+++ b/components/torbirdy.js
@@ -7,7 +7,6 @@ const Cr = Components.results;
 const SERVICE_CTRID = "@torproject.org/torbirdy;1";
 const SERVICE_ID    = Components.ID("{ebd85413-18c8-4265-a708-a8890ec8d1ed}");
 const SERVICE_NAME  = "Main TorBirdy Component";
-
 const TB_ID         = "castironthunderbirdclub at torproject.org";
 
 const kPrefBranch     = "extensions.torbirdy.custom.";
@@ -394,7 +393,7 @@ TorBirdy.prototype = {
       this.prefs.clearUserPref(each);
     }
 
-    // Restore the older proxy preferences that were set before TorBirdy.
+    // Restore the older proxy preferences that were set prior to TorBirdy's install.
     dump("Restoring proxy settings\n");
     for (var i = 0; i < TorBirdyOldPrefs.length; i++) {
       var oldPref = TorBirdyOldPrefs[i];
@@ -425,6 +424,7 @@ TorBirdy.prototype = {
   },
 
   setPrefs: function() {
+    dump("Setting TorBirdy preferences\n");
     // If custom values are set for specific preferences, override the defaults with them.
     // For each preference, get the type and then set the property.
     for (var i = 0; i < this.customPrefs.length; i++) {





More information about the tor-commits mailing list