changing back/forward buttons

This commit is contained in:
Enno Boland (tox) 2009-09-06 10:56:09 +02:00
parent c9f3583ef2
commit 2fcb6c5aab
2 changed files with 4 additions and 4 deletions

4
surf.1
View File

@ -35,10 +35,10 @@ Prints xid to standard output. This can be used to script the browser by using
.BR xprop(1). .BR xprop(1).
.SH USAGE .SH USAGE
.TP .TP
.B Ctrl\-Left .B Ctrl\-h
Walks back the history. Walks back the history.
.TP .TP
.B Ctrl\-Right .B Ctrl\-l
Walks forward the history. Walks forward the history.
.TP .TP
.B Ctrl\-/ .B Ctrl\-/

4
surf.c
View File

@ -236,10 +236,10 @@ keypress(GtkWidget* w, GdkEventKey *ev, Client *c) {
!(ev->state & GDK_SHIFT_MASK), !(ev->state & GDK_SHIFT_MASK),
TRUE); TRUE);
return TRUE; return TRUE;
case GDK_Left: case GDK_h:
webkit_web_view_go_back(c->view); webkit_web_view_go_back(c->view);
return TRUE; return TRUE;
case GDK_Right: case GDK_l:
webkit_web_view_go_forward(c->view); webkit_web_view_go_forward(c->view);
return TRUE; return TRUE;
} }