iUnix GTK: Partial Fix for Menu to keyboard shortcut synch error
parent
286c24ecb1
commit
6af6e226ff
|
@ -446,4 +446,4 @@ Code:
|
|||
* Fixed colors on the Hubble model
|
||||
* Fixed some clipping problems with 3DS meshes caused by bad center calculation
|
||||
* Enhanced Locations menu to support full manipulation and categorization of
|
||||
saved locations.
|
||||
saved locations.
|
||||
|
|
|
@ -2139,6 +2139,10 @@ gint glarea_key_press(GtkWidget* widget, GdkEventKey* event)
|
|||
{
|
||||
if (event->string != NULL)
|
||||
{
|
||||
// See if our key accelerators will handle this event.
|
||||
if(gtk_accel_groups_activate (GTK_OBJECT (mainWindow), event->keyval, (GdkModifierType)event->state))
|
||||
return TRUE;
|
||||
|
||||
char* s = event->string;
|
||||
|
||||
while (*s != '\0')
|
||||
|
|
Loading…
Reference in New Issue