summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnno Boland (Gottox) <gottox@s01.de>2009-06-08 09:31:29 +0200
committerEnno Boland (Gottox) <gottox@s01.de>2009-06-08 09:31:29 +0200
commitf287155cb95d73f4bb6975a8605a2b7e825cf5ed (patch)
tree4ded6b89ff5646ef45a5a84b3e7482fce9fa6bad
parent2d9716907da6c5ae1c494958b25b2b7969adf28a (diff)
parent11efbe62d390bb2092c1ea9504271ec242e4cb57 (diff)
downloadsurf-f287155cb95d73f4bb6975a8605a2b7e825cf5ed.tar.gz
surf-f287155cb95d73f4bb6975a8605a2b7e825cf5ed.tar.bz2
surf-f287155cb95d73f4bb6975a8605a2b7e825cf5ed.zip
backoutmerge
-rw-r--r--surf.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/surf.c b/surf.c
index 3e912d5..e1c4080 100644
--- 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;
}