diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-12-23 19:48:09 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-12-23 19:48:09 +0000 |
commit | 081217a321fd6cee427ac4d3f012b2a5d959cf13 (patch) | |
tree | c8558edfe84951629cdc100503074d925d5f057c /desktop | |
parent | 95714a0c00b64f01a2532161dd91cf3c83887c46 (diff) | |
download | netsurf-081217a321fd6cee427ac4d3f012b2a5d959cf13.tar.gz netsurf-081217a321fd6cee427ac4d3f012b2a5d959cf13.tar.bz2 |
Add core options to disable fetch of foreground & background images.
Remove broken background image option from RISC OS front end.
svn path=/trunk/netsurf/; revision=13332
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/options.c | 6 | ||||
-rw-r--r-- | desktop/options.h | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/desktop/options.c b/desktop/options.c index 131ac8917..0fbf40b32 100644 --- a/desktop/options.c +++ b/desktop/options.c @@ -97,6 +97,10 @@ bool option_block_ads = false; int option_minimum_gif_delay = 10; /** Whether to send the referer HTTP header */ bool option_send_referer = true; +/** Whether to fetch foreground images */ +bool option_foreground_images = true; +/** Whether to fetch background images */ +bool option_background_images = true; /** Whether to animate images */ bool option_animate_images = true; /** How many days to retain URL data for */ @@ -262,6 +266,8 @@ struct option_entry_s option_table[] = { { "block_advertisements", OPTION_BOOL, &option_block_ads }, { "minimum_gif_delay", OPTION_INTEGER, &option_minimum_gif_delay }, { "send_referer", OPTION_BOOL, &option_send_referer }, + { "foreground_images", OPTION_BOOL, &option_foreground_images }, + { "background_images", OPTION_BOOL, &option_background_images }, { "animate_images", OPTION_BOOL, &option_animate_images }, { "expire_url", OPTION_INTEGER, &option_expire_url }, { "font_default", OPTION_INTEGER, &option_font_default }, diff --git a/desktop/options.h b/desktop/options.h index cfc585c28..42375f9ef 100644 --- a/desktop/options.h +++ b/desktop/options.h @@ -58,6 +58,8 @@ extern int option_disc_cache_age; extern bool option_block_ads; extern int option_minimum_gif_delay; extern bool option_send_referer; +extern bool option_foreground_images; +extern bool option_background_images; extern bool option_animate_images; extern int option_expire_url; extern int option_font_default; /* a css_font_family */ |