Skip to content

WebExtensions: Check that accelerator does not already exist before setting

Jamie Murphy requested to merge (removed):web-extensions/command into master

Fixes #1826 (closed).

This MR adds a gtk_application_get_actions_for_accel() call, and checks to make sure that the accelerator is not in use before setting the accelerator. If the accelerator is in use, the accelerator for the extension is not set.

Merge request reports