diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-22 20:13:26 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-22 20:13:26 +0300 |
commit | f545bc769a16d1ff7b302733f793cbcbd397cdca (patch) | |
tree | 0c2ad450df5273a08ad55699801e2b74af662565 /protocols/JabberG | |
parent | 09121bfc0da22a40142e70a276a47fb639390cc4 (diff) |
new helper for MS_TTB_ADDBUTTON
Diffstat (limited to 'protocols/JabberG')
-rw-r--r-- | protocols/JabberG/src/jabber_menu.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/JabberG/src/jabber_menu.cpp b/protocols/JabberG/src/jabber_menu.cpp index 3b8f9c0fac..308c215d20 100644 --- a/protocols/JabberG/src/jabber_menu.cpp +++ b/protocols/JabberG/src/jabber_menu.cpp @@ -798,19 +798,19 @@ int g_OnToolbarInit(WPARAM, LPARAM) ttb.pszService = "JABBER/*/Groupchat";
ttb.pszTooltipUp = ttb.name = LPGEN("Join conference");
ttb.hIconHandleUp = g_GetIconHandle(IDI_GROUP);
- TopToolbar_AddButton(&ttb);
+ g_plugin.addTTB(&ttb);
CreateServiceFunction("JABBER/*/Bookmarks", g_ToolbarHandleBookmarks);
ttb.pszService = "JABBER/*/Bookmarks";
ttb.pszTooltipUp = ttb.name = LPGEN("Open bookmarks");
ttb.hIconHandleUp = g_GetIconHandle(IDI_BOOKMARKS);
- TopToolbar_AddButton(&ttb);
+ g_plugin.addTTB(&ttb);
CreateServiceFunction("JABBER/*/ServiceDiscovery", g_ToolbarHandleServiceDiscovery);
ttb.pszService = "JABBER/*/ServiceDiscovery";
ttb.pszTooltipUp = ttb.name = LPGEN("Service discovery");
ttb.hIconHandleUp = g_GetIconHandle(IDI_SERVICE_DISCOVERY);
- TopToolbar_AddButton(&ttb);
+ g_plugin.addTTB(&ttb);
return 0;
}
|