renaming newproc to newwindow; make it usable within keys; begin implementing contextmenu
[surf.git] / config.def.h
index e1b6df7..a01f882 100644 (file)
@@ -1,4 +1,5 @@
 /* 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";
@@ -34,3 +35,9 @@ static Key keys[] = {
     { 0,                    GDK_Return, hideurl,    { 0 },          UrlBar },
 };
 
+static Context context[] = {
+    { "<===",           navigate,  { .i = -1 } }
+    { "===>",           navigate,  { .i = -1 } }
+    { "Stop",           navigate,  { .i = -1 } }
+    { "Open",           navigate,  { .i = -1 } }
+};