diff options
author | George Hazan <george.hazan@gmail.com> | 2015-07-22 17:53:20 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-07-22 17:53:20 +0000 |
commit | 59b6fb0fe20c274743fbd1b9742be94b1e5134a4 (patch) | |
tree | 1fe68cf72ab221fbca0f24b36b35f5c1087a9450 /plugins/UserInfoEx/src/svc_email.cpp | |
parent | 36818c9c84cce676b9ec6533807b7a33e03902a0 (diff) |
- extra icons services converted into functions;
- more Kill* functions exported;
git-svn-id: http://svn.miranda-ng.org/main/trunk@14635 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx/src/svc_email.cpp')
-rw-r--r-- | plugins/UserInfoEx/src/svc_email.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/UserInfoEx/src/svc_email.cpp b/plugins/UserInfoEx/src/svc_email.cpp index 3a8128cc62..825416ad0e 100644 --- a/plugins/UserInfoEx/src/svc_email.cpp +++ b/plugins/UserInfoEx/src/svc_email.cpp @@ -127,7 +127,7 @@ static INT_PTR MenuCommand(WPARAM wParam,LPARAM lParam) static int OnCListApplyIcons(WPARAM wParam, LPARAM lParam)
{
LPSTR val = Get(wParam);
- ExtraIcon_SetIcon(ghExtraIconSvc, wParam, (val) ? ICO_BTN_EMAIL : 0);
+ ExtraIcon_SetIconByName(ghExtraIconSvc, wParam, (val) ? ICO_BTN_EMAIL : 0);
mir_free(val);
return 0;
}
@@ -228,7 +228,7 @@ bool SvcEMailEnableExtraIcons(bool bEnable, bool bUpdateDB) hApplyIconHook = HookEvent(ME_CLIST_EXTRA_IMAGE_APPLY, OnCListApplyIcons);
if (ghExtraIconSvc == INVALID_HANDLE_VALUE)
- ghExtraIconSvc = ExtraIcon_Register("email", LPGEN("E-mail (uinfoex)"), ICO_BTN_EMAIL);
+ ghExtraIconSvc = ExtraIcon_RegisterIcolib("email", LPGEN("E-mail (uinfoex)"), ICO_BTN_EMAIL);
}
else { // E-mail uncheckt
if (hChangedHook) {
|