summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-rw-r--r--desktop/options.c3
-rw-r--r--desktop/options.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/desktop/options.c b/desktop/options.c
index ca9cc9cde..45bfa50b0 100644
--- a/desktop/options.c
+++ b/desktop/options.c
@@ -39,6 +39,8 @@ int option_http_proxy_port = 8080;
int option_font_size = 100;
/** Minimum font size. */
int option_font_min_size = 70;
+/** Accept-Language header. */
+char *option_accept_language = 0;
EXTRA_OPTION_DEFINE
@@ -53,6 +55,7 @@ struct {
{ "http_proxy_port", OPTION_INTEGER, &option_http_proxy_port },
{ "font_size", OPTION_INTEGER, &option_font_size },
{ "font_min_size", OPTION_INTEGER, &option_font_min_size },
+ { "accept_language", OPTION_STRING, &option_accept_language },
EXTRA_OPTION_TABLE
};
diff --git a/desktop/options.h b/desktop/options.h
index 4f8653554..e903c31c3 100644
--- a/desktop/options.h
+++ b/desktop/options.h
@@ -29,6 +29,7 @@ extern char *option_http_proxy_host;
extern int option_http_proxy_port;
extern int option_font_size;
extern int option_font_min_size;
+extern char *option_accept_language;
void options_read(const char *path);
void options_write(const char *path);