From 3f262e4803ae4ceafcd872c5e5fc640c18f15f14 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 13 Apr 2012 12:29:52 +0000 Subject: Remove image cache status from user-facing listing. svn path=/trunk/netsurf/; revision=13865 --- content/fetchers/about.c | 34 ++++++++++++++++++++++------------ 1 file changed, 22 insertions(+), 12 deletions(-) (limited to 'content') diff --git a/content/fetchers/about.c b/content/fetchers/about.c index b889a31d7..689b86b31 100644 --- a/content/fetchers/about.c +++ b/content/fetchers/about.c @@ -551,23 +551,33 @@ struct about_handlers { int name_len; lwc_string *lname; /**< Interned name */ fetch_about_handler handler; /* handler for the url */ - bool hidden; /* Flag indicating if entry should be show in listing */ + bool hidden; /* Flag indicating if entry should show in listing */ }; /** List of about paths and their handlers */ struct about_handlers about_handler_list[] = { - { "credits", SLEN("credits"), NULL, fetch_about_credits_handler, false }, - { "licence", SLEN("licence"), NULL, fetch_about_licence_handler, false }, - { "license", SLEN("license"), NULL, fetch_about_licence_handler, true }, - { "config", SLEN("config"), NULL, fetch_about_config_handler, false }, - { "Choices", SLEN("Choices"), NULL, fetch_about_choices_handler, false }, - { "testament", SLEN("testament"), NULL, fetch_about_testament_handler, false }, - { "about", SLEN("about"), NULL, fetch_about_about_handler, true }, - { "logo", SLEN("logo"), NULL, fetch_about_logo_handler, true }, - /* details about the cache */ - { "imagecache", SLEN("imagecache"), NULL, fetch_about_imagecache_handler, false }, + { "credits", SLEN("credits"), NULL, + fetch_about_credits_handler, false }, + { "licence", SLEN("licence"), NULL, + fetch_about_licence_handler, false }, + { "license", SLEN("license"), NULL, + fetch_about_licence_handler, true }, + { "config", SLEN("config"), NULL, + fetch_about_config_handler, false }, + { "Choices", SLEN("Choices"), NULL, + fetch_about_choices_handler, false }, + { "testament", SLEN("testament"), NULL, + fetch_about_testament_handler, false }, + { "about", SLEN("about"), NULL, + fetch_about_about_handler, true }, + { "logo", SLEN("logo"), NULL, + fetch_about_logo_handler, true }, + /* details about the image cache */ + { "imagecache", SLEN("imagecache"), NULL, + fetch_about_imagecache_handler, true }, /* The default blank page */ - { "blank", SLEN("blank"), NULL, fetch_about_blank_handler, true } + { "blank", SLEN("blank"), NULL, + fetch_about_blank_handler, true } }; #define about_handler_list_len (sizeof(about_handler_list) / sizeof(struct about_handlers)) -- cgit v1.2.3