summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-22 17:14:39 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-22 17:14:39 +0300
commit737d05018bbc2da54414bea0c2ccce6f1e15bde2 (patch)
tree35f84ba2f7e3db56618b8925654b9e84593fe4fe /plugins/UserInfoEx/src
parent869094d2aabef8ab10a1178907cb31ae84f504f9 (diff)
Hotkey_Register => CMPlugin::addHotkey
Diffstat (limited to 'plugins/UserInfoEx/src')
-rw-r--r--plugins/UserInfoEx/src/dlg_anniversarylist.cpp2
-rw-r--r--plugins/UserInfoEx/src/svc_refreshci.cpp2
-rw-r--r--plugins/UserInfoEx/src/svc_reminder.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/UserInfoEx/src/dlg_anniversarylist.cpp b/plugins/UserInfoEx/src/dlg_anniversarylist.cpp
index 4f13b68327..d2a3ba0439 100644
--- a/plugins/UserInfoEx/src/dlg_anniversarylist.cpp
+++ b/plugins/UserInfoEx/src/dlg_anniversarylist.cpp
@@ -982,5 +982,5 @@ void DlgAnniversaryListLoadModule()
hk.szSection.a = MODULENAME;
hk.szDescription.a = LPGEN("Popup anniversary list");
hk.pszService = MS_USERINFO_REMINDER_LIST;
- Hotkey_Register(&hk);
+ g_plugin.addHotkey(&hk);
}
diff --git a/plugins/UserInfoEx/src/svc_refreshci.cpp b/plugins/UserInfoEx/src/svc_refreshci.cpp
index 9295e6de7a..53cdac42d9 100644
--- a/plugins/UserInfoEx/src/svc_refreshci.cpp
+++ b/plugins/UserInfoEx/src/svc_refreshci.cpp
@@ -867,5 +867,5 @@ void SvcRefreshContactInfoLoadModule(void)
hk.szSection.a = MODULENAME;
hk.szDescription.a = LPGEN("Refresh contact details");
hk.pszService = MS_USERINFO_REFRESH;
- Hotkey_Register(&hk);
+ g_plugin.addHotkey(&hk);
}
diff --git a/plugins/UserInfoEx/src/svc_reminder.cpp b/plugins/UserInfoEx/src/svc_reminder.cpp
index 1558a72854..2da0ae3ff6 100644
--- a/plugins/UserInfoEx/src/svc_reminder.cpp
+++ b/plugins/UserInfoEx/src/svc_reminder.cpp
@@ -907,7 +907,7 @@ void SvcReminderLoadModule(void)
hk.szSection.a = MODULENAME;
hk.szDescription.a = LPGEN("Check anniversaries");
hk.pszService = MS_USERINFO_REMINDER_CHECK;
- Hotkey_Register(&hk);
+ g_plugin.addHotkey(&hk);
if (db_get_b(NULL, MODULENAME, SET_REMIND_ENABLED, DEFVAL_REMIND_ENABLED) != REMIND_OFF && ExtraIcon == INVALID_HANDLE_VALUE)
ExtraIcon = ExtraIcon_RegisterIcolib("Reminder", LPGEN("Reminder (UInfoEx)"), ICO_COMMON_ANNIVERSARY);