GNOME Bugzilla – Bug 587880
It is not possible to add multiple accelerators to a path
Last modified: 2014-05-12 00:11:39 UTC
In my app I would like to bind multiple accelerator keys to the same accelerator path. But the following code: gtk_accel_map_add_entry ("<app>/path1", gdk_keyval_from_name ("m"), 0); gtk_accel_map_add_entry ("<app>/path1", gdk_keyval_from_name ("n"), 0); only executes the action related with the path when the m key is pressed, not when pressing n.
The new way of doing accelerators for actions, gtk_application_set_accels_for_action, allows to set multiple accelerators for an action.