[Pkg-mozext-commits] [perspectives-extension] 37/44: Pers_init - change name of migration preference key

David Prévot taffit at moszumanska.debian.org
Sun Jun 26 04:59:21 UTC 2016


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

taffit pushed a commit to branch master
in repository perspectives-extension.

commit 89a83462ae6d4d42743f75ba596c70a41579f756
Author: Dave Schaefer <dave.schaefer at gmail.com>
Date:   Tue Jun 14 22:44:28 2016 -0700

    Pers_init - change name of migration preference key
    
    Specifying whether it is still needed or not
    should make the boolean value more clear
---
 plugin/chrome/content/init.js        | 4 ++--
 plugin/defaults/preferences/prefs.js | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/plugin/chrome/content/init.js b/plugin/chrome/content/init.js
index f5d97a5..9231f9e 100644
--- a/plugin/chrome/content/init.js
+++ b/plugin/chrome/content/init.js
@@ -77,7 +77,7 @@ var Pers_init = {
         'perspectives.use_default_notary_list'
       ];
       var root_prefs = Perspectives.getRootPrefs();
-      var migration_needed  = Perspectives.getBoolPref("extensions.perspectives.preference_migration");
+      var migration_needed  = Perspectives.getBoolPref("extensions.perspectives.pref_migration_needed");
 
       var tmpNum = 0;
       var tmpStr = "";
@@ -102,7 +102,7 @@ var Pers_init = {
                 Perspectives.setBoolPref("extensions." + preflist_bool[index],tmpBool);
             }
           }
-          Perspectives.setBoolPref("extensions.perspectives.preference_migration",false);
+          Perspectives.setBoolPref("extensions.perspectives.pref_migration_needed",false);
       }
     }
 
diff --git a/plugin/defaults/preferences/prefs.js b/plugin/defaults/preferences/prefs.js
index 0c399c6..92d315d 100755
--- a/plugin/defaults/preferences/prefs.js
+++ b/plugin/defaults/preferences/prefs.js
@@ -12,7 +12,7 @@ pref("extensions.perspectives.exceptions.permanent", false);
 pref("extensions.perspectives.first_run", true);
 pref("extensions.perspectives.max_cache_age_sec", 10000);
 pref("extensions.perspectives.max_timespan_for_inconsistency_test", 7);
-pref("extensions.perspectives.preference_migration", true);
+pref("extensions.perspectives.pref_migration_needed", true);
 pref("extensions.perspectives.prompt_update_all_https_setting", true);
 pref("extensions.perspectives.query_retries"   ,    2);
 pref("extensions.perspectives.query_timeout_ms", 5000);

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



More information about the Pkg-mozext-commits mailing list