Use set_accels_for_action().

https://bugzilla.gnome.org/show_bug.cgi?id=736306