summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-05-21 14:16:27 +0100
committerRichard Hughes <richard@hughsie.com>2014-05-21 14:16:27 +0100
commit25bf6434dbbeb7280e86d6a9a19c8aaf1166c797 (patch)
treee633f7502edb5a7426f31dc038126fb09a965c23 /client
parentcd8689ebc3bb2704932750aa88cd7f55319c3ddd (diff)
downloadappstream-glib-25bf6434dbbeb7280e86d6a9a19c8aaf1166c797.tar.gz
trivial: Do not print category status in the HTML page
We ignore applications without categories now. Appropriate bugs filed.
Diffstat (limited to 'client')
-rw-r--r--client/as-util.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/client/as-util.c b/client/as-util.c
index 384f28c..754cace 100644
--- a/client/as-util.c
+++ b/client/as-util.c
@@ -836,21 +836,6 @@ as_util_status_html_write_exec_summary (GPtrArray *apps,
"keywords: %i/%i (%.1f%%)</li>\n",
cnt, total, perc);
- /* categories */
- cnt = 0;
- for (i = 0; i < apps->len; i++) {
- app = g_ptr_array_index (apps, i);
- if (as_app_get_id_kind (app) != AS_ID_KIND_DESKTOP)
- continue;
- if (as_app_get_categories(app)->len > 0)
- cnt++;
- else g_warning ("%s", as_app_get_id (app));
- }
- perc = 100.f * (gdouble) cnt / (gdouble) total;
- g_string_append_printf (html, "<li>Applications in Fedora with "
- "categories: %i/%i (%.1f%%)</li>\n",
- cnt, total, perc);
-
/* screenshots */
cnt = 0;
for (i = 0; i < apps->len; i++) {