Recognize the Enter key in the location entry.
This commit is contained in:
parent
a482dc36a8
commit
f4abaeb00f
1 changed files with 2 additions and 0 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue