summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2015-11-22 19:13:48 +0100
committerQuentin Rameau <quinq@fifth.space>2015-11-22 19:13:48 +0100
commit981ade6eeb0f975990b0d336bb6b43e6475d6c40 (patch)
treed583b58d6da19f787586823e58684e331bc8856b /config.def.h
parent00f9dcdf439f85df4a2b1efef32e7422a671c26c (diff)
downloadsurf-981ade6eeb0f975990b0d336bb6b43e6475d6c40.tar.gz
surf-981ade6eeb0f975990b0d336bb6b43e6475d6c40.tar.bz2
surf-981ade6eeb0f975990b0d336bb6b43e6475d6c40.zip
Add webkit language settings
You can now set your prefered website languages in order. It is also possible to enable spell checking in the same way.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 94eb288..4f6d655 100644
--- a/config.def.h
+++ b/config.def.h
@@ -18,6 +18,11 @@ static char *cookiepolicies = "Aa@"; /* A: accept all; a: accept nothing,
* @: accept no third party */
static int strictssl = 0; /* Refuse untrusted SSL connections */
+/* Languages */
+static int enablespellchecking = 0;
+static const char *spellinglanguages[] = { "en_US", NULL };
+static const char *preferedlanguages[] = { NULL };
+
/* Webkit default features */
static int enablescrollbars = 1;
static int enablecaretbrowsing = 1;