summaryrefslogtreecommitdiff
path: root/desktop/options.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-12-23 19:48:09 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-12-23 19:48:09 +0000
commit081217a321fd6cee427ac4d3f012b2a5d959cf13 (patch)
treec8558edfe84951629cdc100503074d925d5f057c /desktop/options.c
parent95714a0c00b64f01a2532161dd91cf3c83887c46 (diff)
downloadnetsurf-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/options.c')
-rw-r--r--desktop/options.c6
1 files changed, 6 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 },