GNOME Bugzilla – Bug 515047
check for all return/space keys consistently
Last modified: 2008-02-12 16:02:53 UTC
Some widgets check for GDK_Return and GDK_KP_Enter, while others also check for GDK_ISO_Enter. Same for GDK_space wrt. GDK_KP_Space. I propose to make widgets consistenly support all enter/space keys.
Created attachment 104660 [details] [review] [PATCH] Consitently check for GDK_Return, GDK_ISO_Enter and GDK_KP_Enter. Consistenly check for GDK_space and GDK_KP_Space. Bug #515047. gtk/gtkaboutdialog.c | 3 ++- gtk/gtkcolorsel.c | 2 ++ gtk/gtkcombo.c | 4 +++- gtk/gtkcombobox.c | 6 ++++-- gtk/gtkdnd.c | 1 + gtk/gtkentry.c | 2 ++ gtk/gtkfilechooserdefault.c | 3 ++- gtk/gtkiconview.c | 4 ++++ gtk/gtkmenushell.c | 5 +++++ gtk/gtkpaned.c | 3 +++ gtk/gtkscalebutton.c | 2 ++ gtk/gtktext.c | 2 ++ gtk/gtktextview.c | 1 + gtk/gtktreeview.c | 5 +++++ gtk/gtkwindow.c | 5 +++-- 15 files changed, 41 insertions(+), 7 deletions(-)
Looks fine.
2008-02-12 Matthias Clasen <mclasen@redhat.com> * gtk/*.c: Unify the handling of various "Enter" keysyms all over the place. (#515047, Christian Persch)