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/Sessions | |
parent | 869094d2aabef8ab10a1178907cb31ae84f504f9 (diff) |
Hotkey_Register => CMPlugin::addHotkey
Diffstat (limited to 'plugins/Sessions')
-rw-r--r-- | plugins/Sessions/Src/Main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Sessions/Src/Main.cpp b/plugins/Sessions/Src/Main.cpp index 6c6faa4eba..e1643e681f 100644 --- a/plugins/Sessions/Src/Main.cpp +++ b/plugins/Sessions/Src/Main.cpp @@ -760,22 +760,22 @@ static int PluginInit(WPARAM, LPARAM) hkd.szSection.a = LPGEN("Sessions");
hkd.szDescription.a = LPGEN("Open Sessions Manager");
hkd.pszService = MS_SESSIONS_OPENMANAGER;
- Hotkey_Register(&hkd);
+ g_plugin.addHotkey(&hkd);
hkd.pszName = "RestoreLastSession";
hkd.szDescription.a = LPGEN("Restore last Session");
hkd.pszService = MS_SESSIONS_RESTORELASTSESSION;
- Hotkey_Register(&hkd);
+ g_plugin.addHotkey(&hkd);
hkd.pszName = "SaveSession";
hkd.szDescription.a = LPGEN("Save Session");
hkd.pszService = MS_SESSIONS_SAVEUSERSESSION;
- Hotkey_Register(&hkd);
+ g_plugin.addHotkey(&hkd);
hkd.pszName = "CloseSession";
hkd.szDescription.a = LPGEN("Close Session");
hkd.pszService = MS_SESSIONS_CLOSESESSION;
- Hotkey_Register(&hkd);
+ g_plugin.addHotkey(&hkd);
// Main menu
CMenuItem mi;
|