diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-08 18:45:11 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-08 18:45:11 +0000 |
commit | 929cf4f6f089cc4db4eea16898402120fc812e30 (patch) | |
tree | 67218e5b14923f8021b4406249756bdf1cab232a /plugins/Clist_nicer/SRC/clc.cpp | |
parent | 71defe6c2ba6284e775f2317311e29a77c02b81d (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/clc.cpp')
-rw-r--r-- | plugins/Clist_nicer/SRC/clc.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/Clist_nicer/SRC/clc.cpp b/plugins/Clist_nicer/SRC/clc.cpp index 9a7d81a66b..7d6ce337f3 100644 --- a/plugins/Clist_nicer/SRC/clc.cpp +++ b/plugins/Clist_nicer/SRC/clc.cpp @@ -168,6 +168,10 @@ static int ClcSettingChanged(WPARAM wParam, LPARAM lParam) if ((lstrlenA(cws->szSetting) > 6 && !strncmp(cws->szSetting, "Status", 6)) || strstr("Default,ForceSend,Nick", cws->szSetting))
pcli->pfnClcBroadcast(INTM_NAMEORDERCHANGED, wParam, lParam);
}
+ if (!__strcmp(cws->szSetting, "UseSound")) {
+ cfg::dat.soundsOff = cfg::getByte(cws->szModule, cws->szSetting, 0) ? 0 : 1;
+ CheckDlgButton(pcli->hwndContactList, IDC_TBSOUND, cfg::dat.soundsOff ? BST_UNCHECKED : BST_CHECKED);
+ }
}
if (cfg::dat.bMetaAvail && cfg::dat.bMetaEnabled && !__strcmp(cws->szModule, cfg::dat.szMetaName) && !__strcmp(cws->szSetting, "IsSubcontact"))
pcli->pfnClcBroadcast(INTM_HIDDENCHANGED, wParam, lParam);
|