summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer/SRC/init.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-08 18:45:11 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-08 18:45:11 +0000
commit929cf4f6f089cc4db4eea16898402120fc812e30 (patch)
tree67218e5b14923f8021b4406249756bdf1cab232a /plugins/Clist_nicer/SRC/init.cpp
parent71defe6c2ba6284e775f2317311e29a77c02b81d (diff)
default buttons from Clist Nicer+ & Modern
git-svn-id: http://svn.miranda-ng.org/main/trunk@859 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_nicer/SRC/init.cpp')
-rw-r--r--plugins/Clist_nicer/SRC/init.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/Clist_nicer/SRC/init.cpp b/plugins/Clist_nicer/SRC/init.cpp
index 16a33bfc66..3b2f372f95 100644
--- a/plugins/Clist_nicer/SRC/init.cpp
+++ b/plugins/Clist_nicer/SRC/init.cpp
@@ -55,7 +55,8 @@ struct ClcContact* CreateClcContact( void );
struct CListEvent* fnCreateEvent( void );
void ReloadThemedOptions();
void TrayIconUpdateBase(const char *szChangedProto);
-void RegisterCLUIFrameClasses();
+void RegisterCLUIFrameClasses();
+void LoadButtonModule();
void GetDefaultFontSetting(int i, LOGFONT *lf, COLORREF *colour);
int GetWindowVisibleState(HWND hWnd, int iStepX, int iStepY);
@@ -305,6 +306,7 @@ extern "C" int __declspec(dllexport) CListInitialise()
cfg::dat.dwFlags = cfg::getDword("CLUI", "Frameflags", CLUI_FRAME_STATUSICONS | CLUI_FRAME_SHOWBOTTOMBUTTONS |
CLUI_FRAME_BUTTONSFLAT | CLUI_FRAME_CLISTSUNKEN);
cfg::dat.dwFlags |= (cfg::getByte("CLUI", "ShowSBar", 1) ? CLUI_FRAME_SBARSHOW : 0);
+ cfg::dat.soundsOff = cfg::getByte("CLUI", "NoSounds", 0);
CallService(MS_DB_GETPROFILEPATH, MAX_PATH, (LPARAM)szProfilePath);
@@ -365,6 +367,7 @@ LBL_Error:
rc = LoadContactListModule();
if (rc == 0)
rc = LoadCLCModule();
+ LoadButtonModule();
HookEvent(ME_SYSTEM_MODULESLOADED, systemModulesLoaded);
return rc;
}
@@ -384,4 +387,3 @@ extern "C" int __declspec(dllexport) Unload(void)
UnLoadCLUIFramesModule();
return 0;
}
-