diff options
author | George Hazan <george.hazan@gmail.com> | 2014-07-04 21:17:37 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-07-04 21:17:37 +0000 |
commit | e693f1d803f736478a30dd76c6748839796fca77 (patch) | |
tree | a98fa46db871e9edbf2f9ef4de566228daee299c /plugins/Clist_modern/src/modern_clcitems.cpp | |
parent | f1bbd65bbaa4291c194244424668aa16c357ca0f (diff) |
standardizing the control over checkboxes in clist
git-svn-id: http://svn.miranda-ng.org/main/trunk@9682 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_clcitems.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_clcitems.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/Clist_modern/src/modern_clcitems.cpp b/plugins/Clist_modern/src/modern_clcitems.cpp index 02812c1d09..a4ed57af90 100644 --- a/plugins/Clist_modern/src/modern_clcitems.cpp +++ b/plugins/Clist_modern/src/modern_clcitems.cpp @@ -630,6 +630,14 @@ void cliInvalidateDisplayNameCacheEntry(MCONTACT hContact) }
}
+void cli_SetContactCheckboxes(ClcContact *cc, int checked)
+{
+ corecli.pfnSetContactCheckboxes(cc, checked);
+
+ for (int i = 0; i < cc->SubAllocated; i++)
+ corecli.pfnSetContactCheckboxes(&cc->subcontacts[i], checked);
+}
+
char* cli_GetGroupCountsText(ClcData *dat, ClcContact *contact)
{
return corecli.pfnGetGroupCountsText(dat, contact);
|