From 990645c397ba7e5c615f8e5a39602f4ef6737dc5 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Thu, 17 Sep 2009 15:56:54 +1000 Subject: [PATCH] Add Enabled and Disabled highlight groups. Currently only used in the :extensions output. --- common/content/liberator.js | 5 ++--- common/content/style.js | 3 +++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/common/content/liberator.js b/common/content/liberator.js index f2058ae2..81af8f96 100644 --- a/common/content/liberator.js +++ b/common/content/liberator.js @@ -536,9 +536,8 @@ const liberator = (function () //{{{ ["Name", "Version", "Status", "Description"], [], ([template.icon(e, e.name), e.version, - /* XXX: Inline style. */ - e.enabled ? enabled - : disabled, + e.enabled ? enabled + : disabled, e.description] for ([, e] in Iterator(extensions))) ); diff --git a/common/content/style.js b/common/content/style.js index b9ec5b88..c984fe80 100644 --- a/common/content/style.js +++ b/common/content/style.js @@ -29,6 +29,9 @@ Highlights.prototype.CSS =