From 1d680ee8c0f9b0c2a421a778cb50152581dc2873 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 14 Jul 2012 11:59:47 +0000 Subject: fix for Clist Nicer icons' customization git-svn-id: http://svn.miranda-ng.org/main/trunk@964 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_nicer/SRC/clui.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/Clist_nicer/SRC/clui.cpp') diff --git a/plugins/Clist_nicer/SRC/clui.cpp b/plugins/Clist_nicer/SRC/clui.cpp index 60560051bf..b25888de02 100644 --- a/plugins/Clist_nicer/SRC/clui.cpp +++ b/plugins/Clist_nicer/SRC/clui.cpp @@ -2062,10 +2062,9 @@ static INT_PTR CLN_ShowStatusMenu(WPARAM wParam, LPARAM lParam) void LoadCLUIModule(void) { - WNDCLASS wndclass; - HookEvent(ME_SYSTEM_MODULESLOADED, CluiModulesLoaded); + WNDCLASS wndclass; wndclass.style = 0; wndclass.lpfnWndProc = EventAreaWndProc; wndclass.cbClsExtra = 0; @@ -2078,6 +2077,8 @@ void LoadCLUIModule(void) wndclass.lpszClassName = _T("EventAreaClass"); RegisterClass(&wndclass); + SFL_RegisterWindowClass(); + oldhideoffline = cfg::getByte("CList", "HideOffline", SETTING_HIDEOFFLINE_DEFAULT); cluiPos.left = cfg::getDword("CList", "x", 600); cluiPos.top = cfg::getDword("CList", "y", 200); @@ -2085,9 +2086,8 @@ void LoadCLUIModule(void) cluiPos.bottom = cfg::getDword("CList", "Height", 350); LoadExtraIconModule(); - SFL_RegisterWindowClass(); - LoadCLUIFramesModule(); + CreateServiceFunction("CLN/About", CLN_ShowAbout); CreateServiceFunction(MS_CLUI_SHOWMAINMENU, CLN_ShowMainMenu); CreateServiceFunction(MS_CLUI_SHOWSTATUSMENU, CLN_ShowStatusMenu); -- cgit v1.2.3