From: Christian Dywan Date: Sun, 30 Mar 2008 18:32:01 +0000 (+0200) Subject: Recognize the Enter key in the location entry. X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4abaeb00f7694970d55411768618461941e1db8;p=midori Recognize the Enter key in the location entry. --- 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));