[Pkg-mozext-commits] [perspectives-extension] 22/44: Pers_init - move pref migration to init code
David Prévot
taffit at moszumanska.debian.org
Sun Jun 26 04:59:19 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 5a050c4a0ad719d6637c79042a2a5a493a40e849
Author: Dave Schaefer <dave.schaefer at gmail.com>
Date: Sun Jun 12 22:37:14 2016 -0700
Pers_init - move pref migration to init code
We want to run everything at the same time, on window load
---
plugin/chrome/content/init.js | 2 ++
plugin/chrome/content/initialize.xul | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/plugin/chrome/content/init.js b/plugin/chrome/content/init.js
index 100fa33..55c7fa7 100644
--- a/plugin/chrome/content/init.js
+++ b/plugin/chrome/content/init.js
@@ -44,6 +44,8 @@ var Pers_init = {
root_prefs.setBoolPref(FIRSTRUN_PREF, false);
}
+
+ Pers_init.migrateOldSettings();
},
// Preference migration from old names to new ones.
diff --git a/plugin/chrome/content/initialize.xul b/plugin/chrome/content/initialize.xul
index c074e2e..b90d40a 100644
--- a/plugin/chrome/content/initialize.xul
+++ b/plugin/chrome/content/initialize.xul
@@ -10,7 +10,6 @@
<script type="application/x-javascript" src="notaries.js"/>
<script type="text/javascript">
- Pers_init.migrateOldSettings();
// don't load or run anything until after the page has loaded
window.addEventListener('load', function(){ Pers_init.evtLoad(); }, false);
--
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