Browse files

#198 rename keepasshttp_url preference

  • Loading branch information...
1 parent e113b09 commit 3da3bf10a4b68bc18fb2b60dd1460187244bc0a8 @pfn committed Oct 1, 2013
View
BIN passifox.xpi
Binary file not shown.
View
2 passifox/defaults/preferences/defaults.js
@@ -1 +1 @@
-pref("passifox.keepasshttp_url", "http://localhost:19455/");
+pref("extensions.passifox.keepasshttp_url", "http://localhost:19455/");
View
2 passifox/install.rdf
@@ -2,7 +2,7 @@
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<Description about="urn:mozilla:install-manifest">
<em:id>passifox@hanhuy.com</em:id>
- <em:version>1.1.8</em:version>
+ <em:version>1.1.9</em:version>
<em:type>2</em:type>
<!-- firefox -->
<em:targetApplication>
View
6 passifox/modules/KeePassFox.jsm
@@ -23,15 +23,15 @@ function KeePassFox() {
});
this._prefBranch = Services.prefs.getBranch("signon.");
- this._myPrefs = Services.prefs.getBranch("passifox.");
+ this._myPrefs = Services.prefs.getBranch("extensions.");
let kpf = this;
this._observer = {
QueryInterface: XPCOMUtils.generateQI([Ci.nsIObserver,
Ci.nsISupportsWeakReference]),
observe: function(subject, topic, data) {
kpf._debug = kpf._prefBranch.getBoolPref("debug");
kpf.log("debug pref updated: " + kpf._debug);
- kpf._keepassHttpUrl = kpf._myPrefs.getCharPref("keepasshttp_url");
+ kpf._keepassHttpUrl = kpf._myPrefs.getCharPref("passifox.keepasshttp_url");
kpf.log("keepassHttpUrl updated" + kpf._keepassHttpUrl);
}
};
@@ -41,7 +41,7 @@ function KeePassFox() {
this._keepassHttpUrl = this._myPrefs.getCharPref("keepasshttp_url");
this._myPrefs.QueryInterface(Ci.nsIPrefBranch2);
- this._myPrefs.addObserver("keepasshttp_url", this._observer, false);
+ this._myPrefs.addObserver("passifox.keepasshttp_url", this._observer, false);
}
KeePassFox.reload = function() {
View
4 update.rdf
@@ -6,14 +6,14 @@
<r:Seq>
<r:li>
<r:Description>
- <version>1.1.8</version>
+ <version>1.1.9</version>
<targetApplication>
<r:Description>
<id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</id>
<minVersion>4.0b1</minVersion>
<maxVersion>24.*</maxVersion>
<updateLink>https://passifox.appspot.com/passifox.xpi</updateLink>
- <updateHash>sha1:c4476f8702f5f12cc5fefb7a3b0fc3f34d0bc5ac</updateHash>
+ <updateHash>sha1:86210f812b351731d3aba461aea3b6595f47012c</updateHash>
</r:Description>
</targetApplication>
</r:Description>

0 comments on commit 3da3bf1

Please sign in to comment.