summaryrefslogtreecommitdiff
path: root/protocols/MSN/src/msn_lists.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-07-26 18:39:48 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-07-26 18:39:48 +0000
commit3f00912895ae0820b4db9ae7081f5ffcba1b074c (patch)
treed9524551ee0fa19ffb93e7035de334962900dd40 /protocols/MSN/src/msn_lists.cpp
parent535d64f23c465e90f0743108b247563dc2387af7 (diff)
stupid duplicated code of embedded clists removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@9953 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/src/msn_lists.cpp')
-rw-r--r--protocols/MSN/src/msn_lists.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/protocols/MSN/src/msn_lists.cpp b/protocols/MSN/src/msn_lists.cpp
index 2e2b181113..94c51a3a62 100644
--- a/protocols/MSN/src/msn_lists.cpp
+++ b/protocols/MSN/src/msn_lists.cpp
@@ -427,18 +427,6 @@ static void AddPrivacyListEntries(HWND hwndList, CMsnProto *proto)
}
}
-static void ResetListOptions(HWND hwndList)
-{
- SendMessage(hwndList, CLM_SETBKBITMAP, 0, 0);
- SendMessage(hwndList, CLM_SETBKCOLOR, GetSysColor(COLOR_WINDOW), 0);
- SendMessage(hwndList, CLM_SETGREYOUTFLAGS, 0, 0);
- SendMessage(hwndList, CLM_SETLEFTMARGIN, 2, 0);
- SendMessage(hwndList, CLM_SETINDENT, 10, 0);
-
- for (int i=0; i<=FONTID_MAX; i++)
- SendMessage(hwndList, CLM_SETTEXTCOLOR, i, GetSysColor(COLOR_WINDOWTEXT));
-}
-
static void SetContactIcons(MCONTACT hItem, HWND hwndList, CMsnProto* proto)
{
if (!proto->MSN_IsMyContact(hItem)) {
@@ -594,7 +582,6 @@ INT_PTR CALLBACK DlgProcMsnServLists(HWND hwndDlg, UINT msg, WPARAM wParam, LPAR
SendMessage(hwndList, CLM_SETEXTRAIMAGELIST, 0, (LPARAM)hIml);
SendMessage(hwndList, CLM_SETEXTRACOLUMNS, 5, 0);
- ResetListOptions(hwndList);
EnableWindow(hwndList, ((CMsnProto*)lParam)->msnLoggedIn);
}
return TRUE;
@@ -640,10 +627,6 @@ INT_PTR CALLBACK DlgProcMsnServLists(HWND hwndDlg, UINT msg, WPARAM wParam, LPAR
SetAllContactIcons(NULL, nmc->hdr.hwndFrom, proto);
break;
- case CLN_OPTIONSCHANGED:
- ResetListOptions(nmc->hdr.hwndFrom);
- break;
-
case NM_CLICK:
HANDLE hItem;
DWORD hitFlags;