diff options
author | George Hazan <george.hazan@gmail.com> | 2013-04-05 23:13:56 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-04-05 23:13:56 +0000 |
commit | 4810d4b1b7a47701b8e6c45490fb2643ea425123 (patch) | |
tree | fb94dd5889fdd0558605ffe738f0b2d6d2f08ca2 /protocols/IcqOscarJ | |
parent | 007b4c7301f0d26a72f89f74e9929f42e24eb3e6 (diff) |
rest of menu cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@4325 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ')
-rw-r--r-- | protocols/IcqOscarJ/src/icq_xstatus.cpp | 4 | ||||
-rw-r--r-- | protocols/IcqOscarJ/src/init.cpp | 12 |
2 files changed, 2 insertions, 14 deletions
diff --git a/protocols/IcqOscarJ/src/icq_xstatus.cpp b/protocols/IcqOscarJ/src/icq_xstatus.cpp index dc1efbdacf..b8b7a2d056 100644 --- a/protocols/IcqOscarJ/src/icq_xstatus.cpp +++ b/protocols/IcqOscarJ/src/icq_xstatus.cpp @@ -781,11 +781,11 @@ void CIcqProto::setXStatusEx(BYTE bXStatus, BYTE bQuiet) CLISTMENUITEM mi = { sizeof(mi) };
if (bOldXStatus <= XSTATUS_COUNT) {
mi.flags = CMIM_FLAGS;
- CallService(MS_CLIST_MODIFYMENUITEM, (WPARAM)hXStatusItems[bOldXStatus], (LPARAM)&mi);
+ Menu_ModifyItem(hXStatusItems[bOldXStatus], &mi);
}
mi.flags = CMIM_FLAGS | CMIF_CHECKED;
- CallService(MS_CLIST_MODIFYMENUITEM, (WPARAM)hXStatusItems[bXStatus], (LPARAM)&mi);
+ Menu_ModifyItem(hXStatusItems[bXStatus], &mi);
}
if (bXStatus) {
diff --git a/protocols/IcqOscarJ/src/init.cpp b/protocols/IcqOscarJ/src/init.cpp index 0cf65d5eb7..b7ca1ce204 100644 --- a/protocols/IcqOscarJ/src/init.cpp +++ b/protocols/IcqOscarJ/src/init.cpp @@ -144,18 +144,6 @@ extern "C" int __declspec(dllexport) Unload(void) return 0;
}
-
-/////////////////////////////////////////////////////////////////////////////////////////
-// OnPrebuildContactMenu event
-
-static void CListSetMenuItemIcon(HANDLE hMenuItem, HICON hIcon)
-{
- CLISTMENUITEM mi = { sizeof(mi) };
- mi.flags = CMIM_FLAGS | CMIM_ICON;
- mi.hIcon = hIcon;
- CallService(MS_CLIST_MODIFYMENUITEM, (WPARAM)hMenuItem, (LPARAM)&mi);
-}
-
/////////////////////////////////////////////////////////////////////////////////////////
// UpdateGlobalSettings event
|