diff options
Diffstat (limited to 'plugins/MyDetails/src/mydetails.cpp')
-rw-r--r-- | plugins/MyDetails/src/mydetails.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/MyDetails/src/mydetails.cpp b/plugins/MyDetails/src/mydetails.cpp index 0182ea778f..cc23b3614b 100644 --- a/plugins/MyDetails/src/mydetails.cpp +++ b/plugins/MyDetails/src/mydetails.cpp @@ -87,16 +87,16 @@ static int MainInit(WPARAM, LPARAM) InitProtocolData();
// Add options to menu
- CLISTMENUITEM mi = { 0 };
+ TMO_MenuItem mi = { 0 };
mi.position = 500050000;
mi.flags = CMIF_TCHAR;
- mi.icolibItem = Skin_GetIconHandle(SKINICON_OTHER_USERDETAILS);
+ mi.hIcolibItem = Skin_GetIconHandle(SKINICON_OTHER_USERDETAILS);
mi.name.t = LPGENT("My details");
HGENMENU hMenuRoot = Menu_AddMainMenuItem(&mi);
mi.flags = CMIF_TCHAR;
- mi.hParentMenu = hMenuRoot;
- mi.icolibItem = NULL;
+ mi.root = hMenuRoot;
+ mi.hIcolibItem = NULL;
if (protocols->CanSetAvatars()) {
mi.position = 100001;
|