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

And completion.preference.

This commit is contained in:
Kris Maglione
2008-11-28 08:33:18 +00:00
parent 0cfa5857fc
commit 25d983ec01
2 changed files with 9 additions and 6 deletions

View File

@@ -678,11 +678,7 @@ function Options() //{{{
return;
}
let prefs = Components.classes["@mozilla.org/preferences-service;1"]
.getService(Components.interfaces.nsIPrefBranch);
context.keys = { text: function (pref) pref.item, description: function (pref) options.getPref(pref.item) };
context.completions = prefs.getChildList("", { value: 0 });
return;
return completion.preference(context);
}
let opt = options.parseOpt(filter, modifiers);