summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2013-01-26 15:53:33 +0100
committerChristoph Lohmann <20h@r-36.net>2013-01-26 15:53:33 +0100
commite784d925dfab0405cb4bf2ac7466045d8089a189 (patch)
treee7d519662c7191d28a68ecc91ce2cfd4bad6cf37 /config.def.h
parent13b04d8b61b3e0f334b57749cf9b8755135ef4f4 (diff)
downloadsurf-e784d925dfab0405cb4bf2ac7466045d8089a189.tar.gz
surf-e784d925dfab0405cb4bf2ac7466045d8089a189.tar.bz2
surf-e784d925dfab0405cb4bf2ac7466045d8089a189.zip
Adding web inspector support to surf.
Thanks Gregor Best <gbe@ring0.de>!
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h
index 663e532..8a27a03 100644
--- a/config.def.h
+++ b/config.def.h
@@ -16,8 +16,12 @@ static char *cafile = "/etc/ssl/certs/ca-certificates.crt";
static char *strictssl = FALSE; /* Refuse untrusted SSL connections */
static int indicator_thickness = 2;
-/* Webkit features */
-static Bool spatialbrowsing = TRUE;
+/* Webkit default features */
+static Bool enablespatialbrowsing = TRUE;
+static Bool enableplugins = TRUE;
+static Bool enablescripts = TRUE;
+static Bool enableinspector = TRUE;
+static Bool loadimages = TRUE;
static Bool hidebackground = FALSE;
#define SETPROP(p, q) { \
@@ -69,6 +73,7 @@ static Key keys[] = {
{ 0, GDK_F11, fullscreen, { 0 } },
{ 0, GDK_Escape, stop, { 0 } },
{ MODKEY, GDK_o, source, { 0 } },
+ { MODKEY|GDK_SHIFT_MASK,GDK_o, inspector, { 0 } },
{ MODKEY, GDK_g, spawn, SETPROP("_SURF_URI", "_SURF_GO") },
{ MODKEY, GDK_f, spawn, SETPROP("_SURF_FIND", "_SURF_FIND") },