Fixed keyboard accelerator problem.

'gtk.accelerator_name' returned '<Primary>' instead of '<Control>' or '<Meta'>