From be616d81bdaf8fd4ae61b0a145fb81bbdf467994 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 26 Jun 2015 22:03:02 +0000 Subject: YEEHAW! CLISTMENUITEM::pszPopupName also died git-svn-id: http://svn.miranda-ng.org/main/trunk@14404 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MenuItemEx/src/main.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'plugins/MenuItemEx/src/main.cpp') diff --git a/plugins/MenuItemEx/src/main.cpp b/plugins/MenuItemEx/src/main.cpp index 8937e6f198..55a3e2782c 100644 --- a/plugins/MenuItemEx/src/main.cpp +++ b/plugins/MenuItemEx/src/main.cpp @@ -740,7 +740,7 @@ static HGENMENU AddSubmenuItem(HGENMENU hRoot, TCHAR* name, HICON icon, DWORD fl mi.position = pos; mi.ptszName = name; mi.hIcon = icon; - mi.flags = CMIF_UNICODE | CMIF_ROOTHANDLE | flag; + mi.flags = CMIF_UNICODE | flag; mi.pszService = service; HGENMENU res = Menu_AddContactMenuItem(&mi); @@ -979,10 +979,8 @@ static int PluginInit(WPARAM, LPARAM) hmenuHide = Menu_AddContactMenuItem(&mi); mi.position++; - mi.hParentMenu = HGENMENU_ROOT; mi.ptszName = LPGENT("Ignore"); mi.pszService = 0; - mi.flags |= CMIF_ROOTHANDLE; mi.hIcon = IcoLib_GetIcon("miex_ignore"); hmenuIgnore = Menu_AddContactMenuItem(&mi); @@ -997,7 +995,6 @@ static int PluginInit(WPARAM, LPARAM) ood.pszPage = "Ignore"; AddSubmenuItem(hmenuIgnore, LPGENT("Open ignore settings"), IcoLib_GetIcon("miex_ignore"), 0, "Opt/OpenOptions", pos, (int)&ood); - mi.pszPopupName = 0; mi.position++; mi.ptszName = LPGENT("Copy to Account"); mi.pszService = MS_PROTO; -- cgit v1.2.3