diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2012-12-22 08:54:19 +0200 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2012-12-22 08:54:19 +0200 |
commit | 5735d6a9ee7c250bd563529a3226174efe74ba38 (patch) | |
tree | 5fe26082a536b3f2e03d87a2a4bb5f2c69954daa /src/clist.cpp | |
parent | 925f25fc28a6edfe444412e13887456902514f13 (diff) |
merged with mirnada ng main repo
Diffstat (limited to 'src/clist.cpp')
-rwxr-xr-x | src/clist.cpp | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/src/clist.cpp b/src/clist.cpp index c64fb17..4533a46 100755 --- a/src/clist.cpp +++ b/src/clist.cpp @@ -16,26 +16,17 @@ #include "commonheaders.h"
-extern HANDLE g_hCLIcon;
void RefreshContactListIcons(void);
+void setClistIcon(HANDLE);
int onExtraImageListRebuilding(WPARAM, LPARAM)
{
- if(g_hCLIcon && ServiceExists(MS_CLIST_EXTRA_ADD_ICON) )
- RefreshContactListIcons();
+ RefreshContactListIcons();
return 0;
}
-
int onExtraImageApplying(WPARAM wParam, LPARAM)
{
- void setClistIcon(HANDLE);
- if(g_hCLIcon && ServiceExists(MS_CLIST_EXTRA_SET_ICON))
- {
-// IconExtraColumn iec = {0}; //need to init this
- if( g_hCLIcon )
- setClistIcon((HANDLE)wParam);
-// ExtraIcon_SetIcon(g_hCLIcon, (HANDLE)wParam, iec.hImage);
- }
+ setClistIcon((HANDLE)wParam);
return 0;
}
|