1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-08 12:25:45 +01:00

Don't show the "all" item in the sanitize dialog.

This commit is contained in:
Kris Maglione
2010-10-14 04:18:00 -04:00
parent 3f42eee0db
commit cd60cf81f6
4 changed files with 3 additions and 6 deletions

View File

@@ -130,7 +130,7 @@ const Sanitizer = Module("sanitizer", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakR
function ourItems(persistent) [
item for (item in self.itemMap)
if (!item.builtin && (!persistent || item.persistent))
if (!item.builtin && (!persistent || item.persistent) && item.name !== "all")
];
function prefOverlay(branch, persistent, local) update(Object.create(local), {