summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES2
-rw-r--r--browser.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 34bb910..ad41c1a 100644
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,8 @@ Release history for lariza
next
[Fixed]
+ - Issue #14: "Keypad enter" now registers as "commit", i.e. "start
+ loading the URL" or "begin searching for search term".
- Issue #15: lariza no longer tries to create local file names with
directory separators in them when downloading files.
diff --git a/browser.c b/browser.c
index a88e78b..40aff75 100644
--- a/browser.c
+++ b/browser.c
@@ -622,6 +622,7 @@ key_location(GtkWidget *widget, GdkEvent *event, gpointer data)
{
switch (((GdkEventKey *)event)->keyval)
{
+ case GDK_KEY_KP_Enter:
case GDK_KEY_Return:
gtk_widget_grab_focus(c->web_view);
t = gtk_entry_get_text(GTK_ENTRY(c->location));