iAllow applet to be toggled. - surf - Surf web browser. Err gopher.r-36.net 70 i Err gopher.r-36.net 70 1Log /scm/surf//log.gph gopher.r-36.net 70 1Files /scm/surf//files.gph gopher.r-36.net 70 1Refs /scm/surf//refs.gph gopher.r-36.net 70 1README /scm/surf//file/README.gph gopher.r-36.net 70 1LICENSE /scm/surf//file/LICENSE.gph gopher.r-36.net 70 i--- Err gopher.r-36.net 70 1commit d970bbd60ab7b531a775a109dfd8c6b48d698a03 /scm/surf//commit/d970bbd60ab7b531a775a109dfd8c6b48d698a03.gph gopher.r-36.net 70 1parent 12fd14287ccb5ba4e0acf52ce43390bc9a3e941c /scm/surf//commit/12fd14287ccb5ba4e0acf52ce43390bc9a3e941c.gph gopher.r-36.net 70 hAuthor: Christoph Lohmann <20h@r-36.net> URL:mailto:20h@r-36.net gopher.r-36.net 70 iDate: Fri, 21 Apr 2017 21:03:03 +0200 Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iAllow applet to be toggled. Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iDiffstat: Err gopher.r-36.net 70 i config.def.h | 1 + Err gopher.r-36.net 70 i surf.c | 4 +++- Err gopher.r-36.net 70 i Err gopher.r-36.net 70 i2 files changed, 4 insertions(+), 1 deletion(-) Err gopher.r-36.net 70 i--- Err gopher.r-36.net 70 1diff --git a/config.def.h b/config.def.h /scm/surf//file/config.def.h.gph gopher.r-36.net 70 i@@ -39,6 +39,7 @@ static Bool enableinspector = TRUE; Err gopher.r-36.net 70 i static Bool enablestyle = TRUE; Err gopher.r-36.net 70 i static Bool enablehtml5db = TRUE; Err gopher.r-36.net 70 i static Bool enablehtml5local = TRUE; Err gopher.r-36.net 70 i+static Bool enablejava = FALSE; /* Toggle if is allowed. */ Err gopher.r-36.net 70 i static Bool loadimages = TRUE; Err gopher.r-36.net 70 i static Bool hidebackground = FALSE; Err gopher.r-36.net 70 i static Bool allowgeolocation = TRUE; Err gopher.r-36.net 70 1diff --git a/surf.c b/surf.c /scm/surf//file/surf.c.gph gopher.r-36.net 70 i@@ -1101,7 +1101,9 @@ newclient(void) Err gopher.r-36.net 70 i g_object_set(G_OBJECT(settings), Err gopher.r-36.net 70 i "enable-html5-database", enablehtml5db, NULL); Err gopher.r-36.net 70 i g_object_set(G_OBJECT(settings), Err gopher.r-36.net 70 i- "enable-html5-local-storage", enablehtml5db, NULL); Err gopher.r-36.net 70 i+ "enable-html5-local-storage", enablehtml5local, NULL); Err gopher.r-36.net 70 i+ g_object_set(G_OBJECT(settings), Err gopher.r-36.net 70 i+ "-storage", enablejava, NULL); Err gopher.r-36.net 70 i if (enablestyle) Err gopher.r-36.net 70 i setstyle(c, getstyle("about:blank")); Err gopher.r-36.net 70 i Err gopher.r-36.net 70 .