summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-02 05:57:39 -0700
committerAndrew Dolgov <[email protected]>2013-04-02 05:57:39 -0700
commitf9df3e698c8fb839cf0aa8bfbaf316a2bda13e74 (patch)
tree747e632957732087721f5c4c231e158bc0896229 /include
parent22cdd8a58e3b3661e6871194d7b5fefc7815b000 (diff)
parent4785420034aefcc9900c4646ce528676313f1a02 (diff)
Merge pull request #119 from dandersson/hotkey_info_hook
Hook to add hotkey definition texts via plugins
Diffstat (limited to 'include')
-rw-r--r--include/functions.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php
index 9c58f807a..f273e2f80 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -1934,6 +1934,11 @@
"help_dialog" => __("Show help dialog"))
);
+ global $pluginhost;
+ foreach ($pluginhost->get_hooks($pluginhost::HOOK_HOTKEY_INFO) as $plugin) {
+ $hotkeys = $plugin->hook_hotkey_info($hotkeys);
+ }
+
return $hotkeys;
}