summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_modern/src')
-rw-r--r--plugins/Clist_modern/src/modern_keyboard.cpp6
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;
}