about summary refs log tree commit diff
path: root/config.def.h
diff options
context:
space:
mode:
authorEnno Boland (tox) <tox@s01.de>2009-10-16 16:33:18 +0200
committerEnno Boland (tox) <tox@s01.de>2009-10-16 16:33:18 +0200
commit2eafff0e8bc0092f2d0280c6ef8523db652a115c (patch)
treec0aea4c6dc8915b7c426377790ed82f9572f64b5 /config.def.h
parentimplementing user defined context menu (diff)
downloadsurf-2eafff0e8bc0092f2d0280c6ef8523db652a115c.tar.gz
surf-2eafff0e8bc0092f2d0280c6ef8523db652a115c.tar.bz2
surf-2eafff0e8bc0092f2d0280c6ef8523db652a115c.zip
using char instead of gchar.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/config.def.h b/config.def.h
index 002c901..c7d6a38 100644
--- a/config.def.h
+++ b/config.def.h
@@ -1,11 +1,11 @@
 /* modifier 0 means no modifier */
-static gchar *useragent      = "Mozilla/5.0 (X11; U; Linux; en-us) AppleWebKit/531.2+ (KHTML, like Gecko, surf-"VERSION") Safari/531.2+";
-static gchar *progress       = "#FF0000";
-static gchar *progress_trust = "#00FF00";
-static gchar *stylefile      = ".surf/style.css";
-static gchar *scriptfile     = ".surf/script.js";
-static gchar *cookiefile     = ".surf/cookie.txt";
-static gchar *dldir          = ".surf/dl";
+static char *useragent      = "Mozilla/5.0 (X11; U; Linux; en-us) AppleWebKit/531.2+ (KHTML, like Gecko, surf-"VERSION") Safari/531.2+";
+static char *progress       = "#FF0000";
+static char *progress_trust = "#00FF00";
+static char *stylefile      = ".surf/style.css";
+static char *scriptfile     = ".surf/script.js";
+static char *cookiefile     = ".surf/cookie.txt";
+static char *dldir          = ".surf/dl";
 #define MODKEY GDK_CONTROL_MASK
 static Key keys[] = {
     /* modifier	            keyval      function    arg             Focus */
@@ -36,10 +36,9 @@ static Key keys[] = {
 };
 
 static Item items[] = {
-    { "Open",           loaduri,   { .v = NULL } },
     { "New Window",     newwindow, { .v = NULL } },
+    { "Reload",         reload,   { .b = FALSE } },
     { "Stop",           stop,      { 0 } },
     { "<===",           navigate,  { .i = -1 } },
     { "===>",           navigate,  { .i = +1 } },
-    { "suckless",       newwindow, { .v = (char *)"http://suckless.org" } },
 };