diff options
Diffstat (limited to 'plugins/MyDetails/src')
-rw-r--r-- | plugins/MyDetails/src/frame.cpp | 4 | ||||
-rw-r--r-- | plugins/MyDetails/src/mydetails.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/MyDetails/src/frame.cpp b/plugins/MyDetails/src/frame.cpp index f4f98dd258..3345092557 100644 --- a/plugins/MyDetails/src/frame.cpp +++ b/plugins/MyDetails/src/frame.cpp @@ -329,8 +329,8 @@ int CreateFrame() CLISTMENUITEM mi = { 0 };
mi.flags = CMIF_TCHAR;
- mi.ptszPopupName = LPGENT("My details");
- mi.position = 1; // 500010000
+ mi.hParentMenu = Menu_CreateRoot(MO_MAIN, LPGENT("My details"), 500010000);
+ mi.position = 1;
mi.hIcon = Skin_LoadIcon(SKINICON_OTHER_USERDETAILS);
mi.ptszName = LPGENT("Show my details");
mi.pszService = MODULE_NAME"/ShowHideMyDetails";
diff --git a/plugins/MyDetails/src/mydetails.cpp b/plugins/MyDetails/src/mydetails.cpp index 9fb9ce467c..974b57a644 100644 --- a/plugins/MyDetails/src/mydetails.cpp +++ b/plugins/MyDetails/src/mydetails.cpp @@ -89,12 +89,12 @@ static int MainInit(WPARAM, LPARAM) // Add options to menu
CLISTMENUITEM mi = { 0 };
mi.position = 500050000;
- mi.flags = CMIF_ROOTHANDLE | CMIF_TCHAR;
+ mi.flags = CMIF_TCHAR;
mi.icolibItem = Skin_GetIconHandle(SKINICON_OTHER_USERDETAILS);
mi.ptszName = LPGENT("My details");
HGENMENU hMenuRoot = Menu_AddMainMenuItem(&mi);
- mi.flags = CMIF_ROOTHANDLE | CMIF_TCHAR;
+ mi.flags = CMIF_TCHAR;
mi.hParentMenu = hMenuRoot;
mi.icolibItem = NULL;
|