]> spindle.queued.net Git - midori/commitdiff
Recognize the Enter key in the location entry.
authorChristian Dywan <christian@twotoasts.de>
Sun, 30 Mar 2008 18:32:01 +0000 (20:32 +0200)
committerChristian Dywan <christian@twotoasts.de>
Sun, 30 Mar 2008 19:23:42 +0000 (21:23 +0200)
src/midori-browser.c

index 5c0da7ffd9a431c88529fc38ce8e520adb2eff79..245e2d87b8d6c8384bb34d72cf0b8879da713bd4 100644 (file)
@@ -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));