summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer/SRC/clui.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-14 11:59:47 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-14 11:59:47 +0000
commit1d680ee8c0f9b0c2a421a778cb50152581dc2873 (patch)
treef1e9a7108b4930ec1507962a6d0af9a6845187df /plugins/Clist_nicer/SRC/clui.cpp
parent37c5c41cf26d3ede0495675d8749f297b51cfe72 (diff)
fix for Clist Nicer icons' customization
git-svn-id: http://svn.miranda-ng.org/main/trunk@964 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_nicer/SRC/clui.cpp')
-rw-r--r--plugins/Clist_nicer/SRC/clui.cpp8
1 files changed, 4 insertions, 4 deletions
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);