From 2603ed889dd8f09f5ef151b2856aeb980213584b Mon Sep 17 00:00:00 2001 From: Saint Wesonga Date: Wed, 3 Feb 2010 13:44:13 +0100 Subject: [PATCH] Bug 180568 - Remove "Enabled" column from about:plugins. ui-r=faaborg r=jst,josh --- dom/locales/en-US/chrome/plugins.properties | 1 - toolkit/content/plugins.css | 6 +----- toolkit/content/plugins.html | 11 +---------- 3 files changed, 2 insertions(+), 16 deletions(-) diff --git a/dom/locales/en-US/chrome/plugins.properties b/dom/locales/en-US/chrome/plugins.properties index 6edbde5366e..b898932f2bb 100644 --- a/dom/locales/en-US/chrome/plugins.properties +++ b/dom/locales/en-US/chrome/plugins.properties @@ -12,6 +12,5 @@ version_label=Version: mimetype_label=MIME Type description_label=Description suffixes_label=Suffixes -enabled_label=Enabled yes_label=Yes no_label=No diff --git a/toolkit/content/plugins.css b/toolkit/content/plugins.css index edfd0a61330..089769ebf45 100644 --- a/toolkit/content/plugins.css +++ b/toolkit/content/plugins.css @@ -111,13 +111,9 @@ td { } th.type, th.suff { - width: 20%; + width: 25%; } th.desc { width: 50%; } - -th.enabled { - width: 10%; -} diff --git a/toolkit/content/plugins.html b/toolkit/content/plugins.html index 30c080f33bf..08bda86b098 100644 --- a/toolkit/content/plugins.html +++ b/toolkit/content/plugins.html @@ -129,30 +129,21 @@ document.writeln("" + pluginsbundle.GetStringFromName("mimetype_label") + "<\/th>"); document.writeln("" + pluginsbundle.GetStringFromName("description_label") + "<\/th>"); document.writeln("" + pluginsbundle.GetStringFromName("suffixes_label") + "<\/th>"); - document.writeln("" + pluginsbundle.GetStringFromName("enabled_label") + "<\/th><\/tr>"); - document.writeln("<\/thead>"); + document.writeln("<\/tr><\/thead>"); document.writeln(""); var numTypes = plugin.length; var mimetype; - var enabled; - var enabledPlugin; for (var j = 0; j < numTypes; j++) { mimetype = plugin[j]; if (mimetype) { - enabled = pluginsbundle.GetStringFromName("no_label"); - enabledPlugin = mimetype.enabledPlugin; - if (enabledPlugin && (enabledPlugin.filename == plugin.filename)) - enabled = pluginsbundle.GetStringFromName("yes_label"); - document.writeln(""); document.writeln("" + mimetype.type + "<\/td>"); document.writeln("" + mimetype.description + "<\/td>"); document.writeln("" + mimetype.suffixes + "<\/td>"); - document.writeln("" + enabled + "<\/td>"); document.writeln("<\/tr>"); } }