mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-23 01:45:46 +01:00
Don't Be Evil.
--HG-- rename : pentadactyl/skin/icon.png => pentadactyl/icon16.png
This commit is contained in:
@@ -117,8 +117,8 @@ var actions = {
|
||||
});
|
||||
},
|
||||
get filter() {
|
||||
let ids = XPIProvider.bootstrappedAddons;
|
||||
return function ({ item }) !item.userDisabled && Set.has(ids, item.id);
|
||||
return function ({ item }) !item.userDisabled &&
|
||||
!(item.operationsRequiringRestart & (AddonManager.OP_NEEDS_RESTART_ENABLE | AddonManager.OP_NEEDS_RESTART_DISABLE))
|
||||
},
|
||||
perm: "disable"
|
||||
},
|
||||
@@ -492,10 +492,8 @@ var Addons = Module("addons", {
|
||||
}
|
||||
});
|
||||
|
||||
if (!services.has("extensionManager")) {
|
||||
if (!services.has("extensionManager"))
|
||||
Components.utils.import("resource://gre/modules/AddonManager.jsm");
|
||||
var { XPIProvider } = Components.utils.import("resource://gre/modules/XPIProvider.jsm", {});
|
||||
}
|
||||
else
|
||||
var AddonManager = {
|
||||
PERM_CAN_UNINSTALL: 1,
|
||||
|
||||
Reference in New Issue
Block a user