1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-16 17:55:46 +01:00

Merge changes from bootstrapped.

This commit is contained in:
Kris Maglione
2010-12-24 20:59:29 -05:00
parent c507f63194
commit 5591ed6797
17 changed files with 259 additions and 125 deletions

View File

@@ -28,6 +28,10 @@ const Prefs = Module("prefs", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference
this.restore();
},
cleanup: function cleanup() {
this._branch.removeObserver("", this);
},
observe: {
"nsPref:changed": function (subject, data) {
let observers = this._observers[data];