From 68924bfc1a213e619563c2cffb6d44b5b5346f6d Mon Sep 17 00:00:00 2001
From: George Hazan <george.hazan@gmail.com>
Date: Fri, 26 Jun 2015 18:21:10 +0000
Subject: next slice of cutting out unused menu features - popupPosition

git-svn-id: http://svn.miranda-ng.org/main/trunk@14400 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
---
 protocols/MRA/src/Mra_menus.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'protocols/MRA')

diff --git a/protocols/MRA/src/Mra_menus.cpp b/protocols/MRA/src/Mra_menus.cpp
index fa103f86b7..fe73fa2ca1 100644
--- a/protocols/MRA/src/Mra_menus.cpp
+++ b/protocols/MRA/src/Mra_menus.cpp
@@ -286,7 +286,7 @@ int CMraProto::MraRebuildStatusMenu(WPARAM, LPARAM)
 
 	CLISTMENUITEM mi = { 0 };
 	mi.position = 2000060000;
-	mi.popupPosition = 500085000;
+	// mi.popupPosition = 500085000;
 	mi.ptszPopupName = szItem;
 	mi.flags = CMIF_UNICODE;
 	mi.pszService = szServiceFunction;
@@ -360,7 +360,6 @@ HGENMENU CMraProto::CListCreateMenu(LONG lPosition, LONG lPopupPosition, BOOL bI
 
 	mi.flags = CMIF_ROOTHANDLE;
 	mi.hParentMenu = hRootMenu;
-	mi.popupPosition = lPopupPosition;
 	mi.pszService = szServiceFunction;
 
 	for (size_t i = 0; i < dwCount; i++) {
@@ -369,6 +368,7 @@ HGENMENU CMraProto::CListCreateMenu(LONG lPosition, LONG lPopupPosition, BOOL bI
 		mi.icolibItem = pgdiItems[i].hIcolib;
 		mi.pszName = pgdiItems[i].szDescr;
 		hResult[i] = fnAddFunc(&mi);
+		Menu_ConfigureItem(hResult[i], MCI_OPT_EXECPARAM, lPopupPosition);
 	}
 
 	return hRootMenu;
-- 
cgit v1.2.3