diff options
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/FacebookRM/src/proto.cpp | 6 | ||||
-rw-r--r-- | protocols/JabberG/src/jabber_menu.cpp | 8 | ||||
-rw-r--r-- | protocols/Twitter/src/proto.cpp | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/protocols/FacebookRM/src/proto.cpp b/protocols/FacebookRM/src/proto.cpp index d683dc848f..633e9274ac 100644 --- a/protocols/FacebookRM/src/proto.cpp +++ b/protocols/FacebookRM/src/proto.cpp @@ -1018,16 +1018,16 @@ void FacebookProto::InitHotkeys() mir_strcpy(tDest, "/VisitProfile"); hkd.szDescription.w = LPGENW("Visit profile"); - Hotkey_Register(&hkd); + g_plugin.addHotkey(&hkd); mir_strcpy(tDest, "/VisitNotifications"); hkd.szDescription.w = LPGENW("Visit notifications"); - Hotkey_Register(&hkd); + g_plugin.addHotkey(&hkd); mir_strcpy(tDest, "/Mind"); hkd.szDescription.w = LPGENW("Show 'Share status' window"); hkd.DefHotKey = HOTKEYCODE(HOTKEYF_ALT | HOTKEYF_EXT, 'F'); - Hotkey_Register(&hkd); + g_plugin.addHotkey(&hkd); } /** diff --git a/protocols/JabberG/src/jabber_menu.cpp b/protocols/JabberG/src/jabber_menu.cpp index 272c3504d9..913f9330fa 100644 --- a/protocols/JabberG/src/jabber_menu.cpp +++ b/protocols/JabberG/src/jabber_menu.cpp @@ -750,19 +750,19 @@ void CJabberProto::GlobalMenuInit() mir_strcpy(tDest, "/Groupchat");
hkd.szDescription.w = LPGENW("Join conference");
- Hotkey_Register(&hkd);
+ g_plugin.addHotkey(&hkd);
mir_strcpy(tDest, "/Bookmarks");
hkd.szDescription.w = LPGENW("Open bookmarks");
- Hotkey_Register(&hkd);
+ g_plugin.addHotkey(&hkd);
mir_strcpy(tDest, "/PrivacyLists");
hkd.szDescription.w = LPGENW("Privacy lists");
- Hotkey_Register(&hkd);
+ g_plugin.addHotkey(&hkd);
mir_strcpy(tDest, "/ServiceDiscovery");
hkd.szDescription.w = LPGENW("Service discovery");
- Hotkey_Register(&hkd);
+ g_plugin.addHotkey(&hkd);
}
static INT_PTR g_ToolbarHandleJoinGroupchat(WPARAM w, LPARAM l)
diff --git a/protocols/Twitter/src/proto.cpp b/protocols/Twitter/src/proto.cpp index fe1e265fcd..17a4deb100 100644 --- a/protocols/Twitter/src/proto.cpp +++ b/protocols/Twitter/src/proto.cpp @@ -50,7 +50,7 @@ TwitterProto::TwitterProto(const char *proto_name, const wchar_t *username) : hkd.pszService = text;
hkd.szSection.a = m_szModuleName; // Section title; TODO: use username?
hkd.szDescription.a = "Send Tweet";
- Hotkey_Register(&hkd);
+ g_plugin.addHotkey(&hkd);
// set Tokens and stuff
|