Hi!

Here is a patch that moves the spacial navigation option to a more
conspicuous location so that it is easier to change. The other options
like it (loadimages, plugin, script) were already there so I just put it
with them. I don't know why this wasn't done in the first place when the
others were. This should be applied to mainline (how do I push changes
myself?).

Thanks

/wolf
diff -r 7a931a352cf9 surf.c
--- a/surf.c	Thu Sep 09 11:15:02 2010 +0200
+++ b/surf.c	Sun Feb 20 10:20:18 2011 -0800
@@ -62,7 +62,7 @@
 static gboolean showxid = FALSE;
 static char winid[64];
 static char *progname;
-static gboolean loadimage = 1, plugin = 1, script = 1;
+static gboolean loadimage = 1, plugin = 1, script = 1, spacenav = 1;
 
 static char *buildpath(const char *path);
 static void cleanup(void);
@@ -501,7 +501,7 @@
 	g_object_set(G_OBJECT(settings), "auto-load-images", loadimage, NULL);
 	g_object_set(G_OBJECT(settings), "enable-plugins", plugin, NULL);
 	g_object_set(G_OBJECT(settings), "enable-scripts", script, NULL);
-	g_object_set(G_OBJECT(settings), "enable-spatial-navigation", true, NULL);
+	g_object_set(G_OBJECT(settings), "enable-spatial-navigation", spacenav, NULL);
 
 	g_free(uri);
 

Reply via email to