summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2004-09-18 10:17:23 +0000
committerMarco Pesenti Gritti <marco@src.gnome.org>2004-09-18 10:17:23 +0000
commit653f2bdf70987914e9254e711774e5f0c92c8a14 (patch)
tree723d108942b8f3d0eeb0329979264cc5900fc678
parent9436ab4c1298f32ff37cb25ad509b0ada22ffd8d (diff)
downloadgtk+-653f2bdf70987914e9254e711774e5f0c92c8a14.tar.gz
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.
-rw-r--r--ChangeLog7
-rw-r--r--ChangeLog.pre-2-107
-rw-r--r--ChangeLog.pre-2-67
-rw-r--r--ChangeLog.pre-2-87
-rw-r--r--gtk/gtkentry.c3
5 files changed, 30 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6aa33b5044..fd23646e32 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 6aa33b5044..fd23646e32 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -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
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index 6aa33b5044..fd23646e32 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -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
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 6aa33b5044..fd23646e32 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -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
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index 4e31cd8939..a4b4935772 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -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);