also handle the Tab keys and call the "activate" handler when Tab is
2008-04-30 Sven Neumann <sven@gimp.org> * app/display/gimpscalecombobox.c (gimp_scale_combo_box_entry_key_press): also handle the Tab keys and call the "activate" handler when Tab is pressed. svn path=/trunk/; revision=25553
This commit is contained in:

committed by
Sven Neumann

parent
89e4fdbc44
commit
9be0d9c98f
@ -1,3 +1,9 @@
|
|||||||
|
2008-04-30 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* app/display/gimpscalecombobox.c
|
||||||
|
(gimp_scale_combo_box_entry_key_press): also handle the Tab keys
|
||||||
|
and call the "activate" handler when Tab is pressed.
|
||||||
|
|
||||||
2008-04-30 Sven Neumann <sven@gimp.org>
|
2008-04-30 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* app/display/gimpscalecombobox.c: install a "key-press-event"
|
* app/display/gimpscalecombobox.c: install a "key-press-event"
|
||||||
|
@ -346,6 +346,15 @@ gimp_scale_combo_box_entry_key_press (GtkWidget *entry,
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (event->keyval == GDK_Tab ||
|
||||||
|
event->keyval == GDK_KP_Tab ||
|
||||||
|
event->keyval == GDK_ISO_Left_Tab)
|
||||||
|
{
|
||||||
|
gimp_scale_combo_box_entry_activate (entry, combo_box);
|
||||||
|
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user