Unify the handling of various "Enter" keysyms all over the place.
2008-02-12 Matthias Clasen <mclasen@redhat.com> * gtk/*.c: Unify the handling of various "Enter" keysyms all over the place. (#515047, Christian Persch) svn path=/trunk/; revision=19528
This commit is contained in:
committed by
Matthias Clasen
parent
f51751d2d8
commit
0509519d35
@ -1718,7 +1718,8 @@ credits_key_press_event (GtkWidget *text_view,
|
||||
|
||||
switch (event->keyval)
|
||||
{
|
||||
case GDK_Return:
|
||||
case GDK_Return:
|
||||
case GDK_ISO_Enter:
|
||||
case GDK_KP_Enter:
|
||||
buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (text_view));
|
||||
gtk_text_buffer_get_iter_at_mark (buffer, &iter,
|
||||
|
||||
Reference in New Issue
Block a user