From f4abaeb00f7694970d55411768618461941e1db8 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sun, 30 Mar 2008 20:32:01 +0200 Subject: [PATCH] Recognize the Enter key in the location entry. --- src/midori-browser.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/midori-browser.c b/src/midori-browser.c index 5c0da7ff..245e2d87 100644 --- a/src/midori-browser.c +++ b/src/midori-browser.c @@ -1015,6 +1015,8 @@ midori_browser_location_key_press_event_cb (GtkWidget* widget, { switch (event->keyval) { + case GDK_ISO_Enter: + case GDK_KP_Enter: case GDK_Return: { const gchar* uri = gtk_entry_get_text (GTK_ENTRY (widget));