surf

surf browser, a WebKit2GTK based browser
Log | Files | Refs | README | LICENSE

commit f287155cb95d73f4bb6975a8605a2b7e825cf5ed
parent 2d9716907da6c5ae1c494958b25b2b7969adf28a
Author: Enno Boland (Gottox) <gottox@s01.de>
Date:   Mon,  8 Jun 2009 09:31:29 +0200

backoutmerge
Diffstat:
surf.c | 12+-----------
1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/surf.c b/surf.c @@ -186,7 +186,7 @@ keypress(GtkWidget* w, GdkEventKey *ev, gpointer d) { return FALSE; } } - else if(ev->state == GDK_CONTROL_MASK || ev->state == (GDK_CONTROL_MASK | GDK_SHIFT_MASK)) { + if(ev->state == GDK_CONTROL_MASK || ev->state == (GDK_CONTROL_MASK | GDK_SHIFT_MASK)) { switch(ev->keyval) { case GDK_r: case GDK_R: @@ -211,16 +211,6 @@ keypress(GtkWidget* w, GdkEventKey *ev, gpointer d) { return TRUE; } } - else { - switch(ev->keyval) { - case GDK_k: - webkit_web_view_move_cursor(c->view, GTK_MOVEMENT_DISPLAY_LINES, -1); - return TRUE; - case GDK_j: - webkit_web_view_move_cursor(c->view, GTK_MOVEMENT_DISPLAY_LINES, 1); - return TRUE; - } - } return FALSE; }