diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-22 17:14:39 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-22 17:14:39 +0300 |
commit | 737d05018bbc2da54414bea0c2ccce6f1e15bde2 (patch) | |
tree | 35f84ba2f7e3db56618b8925654b9e84593fe4fe /plugins/Clist_modern | |
parent | 869094d2aabef8ab10a1178907cb31ae84f504f9 (diff) |
Hotkey_Register => CMPlugin::addHotkey
Diffstat (limited to 'plugins/Clist_modern')
-rw-r--r-- | plugins/Clist_modern/src/modern_keyboard.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Clist_modern/src/modern_keyboard.cpp b/plugins/Clist_modern/src/modern_keyboard.cpp index 07037071b3..219e89a7ef 100644 --- a/plugins/Clist_modern/src/modern_keyboard.cpp +++ b/plugins/Clist_modern/src/modern_keyboard.cpp @@ -52,18 +52,18 @@ int InitSkinHotKeys(void) shk.szDescription.w = LPGENW("Close Miranda");
shk.pszName = "CloseMiranda";
shk.pszService = "CLIST/HK/CloseMiranda";
- Hotkey_Register(&shk);
+ g_plugin.addHotkey(&shk);
shk.szSection.w = LPGENW("Status");
shk.szDescription.w = LPGENW("Restore last status");
shk.pszName = "RestoreLastStatus";
shk.pszService = "CLIST/HK/RestoreStatus";
- Hotkey_Register(&shk);
+ g_plugin.addHotkey(&shk);
shk.szSection.w = LPGENW("Main");
shk.szDescription.w = LPGENW("Show/Hide offline users");
shk.pszName = "ShowHideOfflineUsers";
shk.pszService = MS_CLIST_TOGGLEHIDEOFFLINE;
- Hotkey_Register(&shk);
+ g_plugin.addHotkey(&shk);
return 0;
}
|