Make numeric pad enter activate the selected completion entry. Fix bug

2004-09-18  Marco Pesenti Gritti  <marco@gnome.org>

        * gtk/gtkentry.c: (gtk_entry_completion_key_press):

        Make numeric pad enter activate the selected completion
        entry. Fix bug 143486 reported by Edd Dumbill.
This commit is contained in:
Marco Pesenti Gritti 2004-09-18 10:17:23 +00:00 committed by Marco Pesenti Gritti
parent 9436ab4c12
commit 653f2bdf70
5 changed files with 30 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2004-09-18 Marco Pesenti Gritti <marco@gnome.org>
* gtk/gtkentry.c: (gtk_entry_completion_key_press):
Make numeric pad enter activate the selected completion
entry. Fix bug 143486 reported by Edd Dumbill.
2004-09-17 Matthias Clasen <mclasen@redhat.com>
* NEWS: Updates

View File

@ -1,3 +1,10 @@
2004-09-18 Marco Pesenti Gritti <marco@gnome.org>
* gtk/gtkentry.c: (gtk_entry_completion_key_press):
Make numeric pad enter activate the selected completion
entry. Fix bug 143486 reported by Edd Dumbill.
2004-09-17 Matthias Clasen <mclasen@redhat.com>
* NEWS: Updates

View File

@ -1,3 +1,10 @@
2004-09-18 Marco Pesenti Gritti <marco@gnome.org>
* gtk/gtkentry.c: (gtk_entry_completion_key_press):
Make numeric pad enter activate the selected completion
entry. Fix bug 143486 reported by Edd Dumbill.
2004-09-17 Matthias Clasen <mclasen@redhat.com>
* NEWS: Updates

View File

@ -1,3 +1,10 @@
2004-09-18 Marco Pesenti Gritti <marco@gnome.org>
* gtk/gtkentry.c: (gtk_entry_completion_key_press):
Make numeric pad enter activate the selected completion
entry. Fix bug 143486 reported by Edd Dumbill.
2004-09-17 Matthias Clasen <mclasen@redhat.com>
* NEWS: Updates

View File

@ -5102,7 +5102,8 @@ gtk_entry_completion_key_press (GtkWidget *widget,
return TRUE;
}
else if (event->keyval == GDK_ISO_Enter ||
else if (event->keyval == GDK_ISO_Enter ||
event->keyval == GDK_KP_Enter ||
event->keyval == GDK_Return)
{
_gtk_entry_completion_popdown (completion);