surf

Surf web browser.
git clone git://r-36.net/surf
Log | Files | Refs | README | LICENSE

commit b4914fedd20acd4b9370821c3e164fa2ebb746f7
parent 49493c7f2bd7a1d9df99f6fa4343f64d202aea17
Author: Christoph Lohmann <20h@r-36.net>
Date:   Fri, 21 Apr 2017 21:31:38 +0200

Allow to configure spell checking.

Diffstat:
config.def.h | 1+
surf.c | 2++
2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -33,6 +33,7 @@ static int diskcachebytes = 5 * 1024 * 1024; /* Webkit default features */ static Bool enablescrollbars = TRUE; static Bool enablespatialbrowsing = TRUE; +static Bool enablespellchecking = FALSE; static Bool enableplugins = TRUE; static Bool enablepagecache = TRUE; /* Enable cache of pages in current * history. This will save memory diff --git a/surf.c b/surf.c @@ -1090,6 +1090,8 @@ newclient(void) g_object_set(G_OBJECT(settings), "enable-spatial-navigation", enablespatialbrowsing, NULL); g_object_set(G_OBJECT(settings), + "enable-spell-checking", enablespellchecking, NULL); + g_object_set(G_OBJECT(settings), "enable-developer-extras", enableinspector, NULL); g_object_set(G_OBJECT(settings), "enable-default-context-menu", kioskmode ^ 1, NULL);