diff --git a/ChangeLog b/ChangeLog index 740cf379a..84b504ebd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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. \ No newline at end of file + saved locations. diff --git a/src/celestia/gtkmain.cpp b/src/celestia/gtkmain.cpp index 4a8c6ef88..e8d4ce915 100644 --- a/src/celestia/gtkmain.cpp +++ b/src/celestia/gtkmain.cpp @@ -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')