diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-28 17:41:48 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-28 17:41:48 +0000 |
commit | 59cd198e89782263777c57dcd54704ecb1e10212 (patch) | |
tree | 9515cc2c31c1254c330e79906bb669279af9b8a5 /plugins/YAPP/src/yapp.cpp | |
parent | ca2afc50a432cefe892c6877710642bce6bd57c9 (diff) |
finally CLISTEVENT removed completely
git-svn-id: http://svn.miranda-ng.org/main/trunk@14430 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/YAPP/src/yapp.cpp')
-rw-r--r-- | plugins/YAPP/src/yapp.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/YAPP/src/yapp.cpp b/plugins/YAPP/src/yapp.cpp index f51ce242cf..cd3f8ab1de 100644 --- a/plugins/YAPP/src/yapp.cpp +++ b/plugins/YAPP/src/yapp.cpp @@ -170,16 +170,16 @@ void InitMenuItems(void) hMenuRoot = Menu_CreateRoot(MO_MAIN, LPGENT("Popups"), 500010000, IcoLib_GetIcon(isEnabled ? ICO_POPUP_ON : ICO_POPUP_OFF, 0));
- CLISTMENUITEM mi = { 0 };
+ TMO_MenuItem mi = { 0 };
mi.flags = CMIF_TCHAR;
- mi.hParentMenu = hMenuRoot;
+ mi.root = hMenuRoot;
- mi.icolibItem = IcoLib_GetIcon(ICO_HISTORY, 0);
+ mi.hIcolibItem = IcoLib_GetIcon(ICO_HISTORY, 0);
mi.pszService= MS_POPUP_SHOWHISTORY;
mi.name.t = LPGENT("Popup History");
hMenuItemHistory = Menu_AddMainMenuItem(&mi);
- mi.icolibItem = IcoLib_GetIcon(isEnabled ? ICO_POPUP_ON : ICO_POPUP_OFF, 0);
+ mi.hIcolibItem = IcoLib_GetIcon(isEnabled ? ICO_POPUP_ON : ICO_POPUP_OFF, 0);
mi.pszService = "Popup/EnableDisableMenuCommand";
mi.name.t = (isEnabled ? LPGENT("Disable Popups") : LPGENT("Enable Popups"));
hMenuItem = Menu_AddMainMenuItem(&mi);
|