Use set_accels_for_action().

https://bugzilla.gnome.org/show_bug.cgi?id=736304
Warning will be shown prior to selecting new board size if the game is in progress.

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