1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 12:27:58 +01:00

Use options.allPrefs rather than nsIPrefBranch#getChildList

This commit is contained in:
Kris Maglione
2009-09-23 01:09:11 -04:00
parent b980157575
commit 4931f01353
2 changed files with 3 additions and 10 deletions

View File

@@ -1187,7 +1187,7 @@ function Options() //{{{
if (!filter)
filter = "";
let prefArray = services.get("pref").getChildList("", { value: 0 });
let prefArray = options.allPrefs();
prefArray.sort();
let prefs = function () {
for (let [, pref] in Iterator(prefArray))