[epiphany/dazzle] Make the enter key load pages again
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/dazzle] Make the enter key load pages again
- Date: Sun, 27 Aug 2017 22:07:30 +0000 (UTC)
commit c51beaa8ef808222850974dbe5047480f22dc811
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Sun Aug 27 17:07:07 2017 -0500
Make the enter key load pages again
lib/widgets/ephy-location-entry.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c
index 5314bff..a3c843f 100644
--- a/lib/widgets/ephy-location-entry.c
+++ b/lib/widgets/ephy-location-entry.c
@@ -474,6 +474,10 @@ entry_key_press_cb (GtkEntry *entry,
ephy_location_entry_activate (location_entry);
}
+ /* FIXME: Why do we have to activate the location entry manually? */
+ if (event->keyval == GDK_KEY_Return)
+ g_signal_emit_by_name (entry, "activate");
+
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]