diff options
author | George Hazan <ghazan@miranda.im> | 2019-04-12 18:07:24 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-04-12 18:07:24 +0300 |
commit | 103ed2a6565ebd312205af9543cb195ddf39be2a (patch) | |
tree | 47e642e88249d96fb335d811ece195aadeee55ee /plugins/UserInfoEx/src/init.cpp | |
parent | 4912fd0d994ac7b68b41bd8f3d08dcab89298023 (diff) |
UserInfoEx: old icolib management replaced with new one
Diffstat (limited to 'plugins/UserInfoEx/src/init.cpp')
-rw-r--r-- | plugins/UserInfoEx/src/init.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/UserInfoEx/src/init.cpp b/plugins/UserInfoEx/src/init.cpp index 6d017b966f..cc5389422a 100644 --- a/plugins/UserInfoEx/src/init.cpp +++ b/plugins/UserInfoEx/src/init.cpp @@ -67,18 +67,18 @@ static int OnTopToolBarLoaded(WPARAM, LPARAM) TTBButton ttb = {};
ttb.dwFlags = TTBBF_VISIBLE | TTBBF_SHOWTOOLTIP;
ttb.pszService = MS_USERINFO_SHOWDIALOG;
- ttb.hIconHandleUp = IcoLib_GetIconHandle(ICO_COMMON_MAIN);
+ ttb.hIconHandleUp = g_plugin.getIconHandle(IDI_MAIN);
ttb.name = ttb.pszTooltipUp = LPGEN("User &details");
g_plugin.addTTB(&ttb);
ttb.dwFlags = TTBBF_SHOWTOOLTIP;
ttb.pszService = MS_USERINFO_REMINDER_LIST;
- ttb.hIconHandleUp = IcoLib_GetIconHandle(ICO_COMMON_ANNIVERSARY);
+ ttb.hIconHandleUp = g_plugin.getIconHandle(IDI_ANNIVERSARY);
ttb.name = ttb.pszTooltipUp = LPGEN("Anniversary list");
g_plugin.addTTB(&ttb);
ttb.pszService = MS_USERINFO_REMINDER_CHECK;
- ttb.hIconHandleUp = IcoLib_GetIconHandle(ICO_COMMON_BIRTHDAY);
+ ttb.hIconHandleUp = g_plugin.getIconHandle(IDI_BIRTHDAY);
ttb.name = ttb.pszTooltipUp = LPGEN("Check anniversaries");
g_plugin.addTTB(&ttb);
return 0;
|