From 5735d6a9ee7c250bd563529a3226174efe74ba38 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Sat, 22 Dec 2012 08:54:19 +0200 Subject: merged with mirnada ng main repo --- src/clist.cpp | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'src/clist.cpp') 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; } -- cgit v1.2.3