summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer/src/clc.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2014-05-03 17:41:15 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2014-05-03 17:41:15 +0000
commit8054c771852aec548f4d648cafafc8fd6c1bf08e (patch)
tree6e4315c70163db6e9afaead638dfe26cbed0868e /plugins/Clist_nicer/src/clc.cpp
parentd5a062a77c2da82b8f99aefcbaaa2ac131266ee5 (diff)
- Fixed drawing flat/themed toolbar buttons in clist_nicer (patch by slotwin) (fixes #655)
git-svn-id: http://svn.miranda-ng.org/main/trunk@9117 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_nicer/src/clc.cpp')
-rw-r--r--plugins/Clist_nicer/src/clc.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/Clist_nicer/src/clc.cpp b/plugins/Clist_nicer/src/clc.cpp
index 1352de08ad..725d78358b 100644
--- a/plugins/Clist_nicer/src/clc.cpp
+++ b/plugins/Clist_nicer/src/clc.cpp
@@ -171,6 +171,9 @@ static int ClcSettingChanged(WPARAM hContact, LPARAM lParam)
ClcSetButtonState(IDC_TBSOUND, cfg::dat.soundsOff ? BST_CHECKED : BST_UNCHECKED);
SetButtonStates(pcli->hwndContactList);
}
+ else if (!__strcmp(cws->szModule, "TopToolBar") && !__strcmp(cws->szSetting, "UseFlatButton")) {
+ SetButtonToSkinned();
+ }
else if (szProto == NULL) {
if ( !__strcmp(cws->szSetting, "XStatusId"))
CluiProtocolStatusChanged(0, cws->szModule);