From 6640a8f419a9ef61ad7af41a419615c2d07b872e Mon Sep 17 00:00:00 2001
From: George Hazan <george.hazan@gmail.com>
Date: Sat, 6 Apr 2013 23:05:29 +0000
Subject: menu item flag CMIF_ICONFROMICOLIB is ignored by the core from now on

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

(limited to 'protocols/MRA/src')

diff --git a/protocols/MRA/src/MraIcons.cpp b/protocols/MRA/src/MraIcons.cpp
index 2165803c22..f82ba302c7 100644
--- a/protocols/MRA/src/MraIcons.cpp
+++ b/protocols/MRA/src/MraIcons.cpp
@@ -177,12 +177,12 @@ void CMraProto::CListCreateMenu(LONG lPosition, LONG lPopupPosition, HICON hMain
 			hRootMenu = Menu_AddProtoMenuItem(&mi);
 		}
 		mi.hParentMenu = hRootMenu;
-		mi.flags = CMIF_UNICODE | CMIF_ICONFROMICOLIB | CMIF_CHILDPOPUP;
+		mi.flags = CMIF_UNICODE | CMIF_CHILDPOPUP;
 	}
 	else {
 		fnAddFunc = Menu_AddContactMenuItem;
 		mi.ptszPopupName = m_tszUserName;
-		mi.flags = CMIF_UNICODE | CMIF_ICONFROMICOLIB;
+		mi.flags = CMIF_UNICODE;
 	}
 
 	mi.popupPosition = lPopupPosition;
diff --git a/protocols/MRA/src/Mra_svcs.cpp b/protocols/MRA/src/Mra_svcs.cpp
index 4c5ebe50c0..600331cff5 100644
--- a/protocols/MRA/src/Mra_svcs.cpp
+++ b/protocols/MRA/src/Mra_svcs.cpp
@@ -659,7 +659,7 @@ int CMraProto::MraRebuildStatusMenu(WPARAM wParam, LPARAM lParam)
 	mi.position = 2000060000;
 	mi.popupPosition = 500085000;
 	mi.ptszPopupName = szItem;
-	mi.flags = (CMIF_UNICODE|CMIF_ICONFROMICOLIB);
+	mi.flags = CMIF_UNICODE;
 	mi.pszService = szServiceFunction;
 	mi.pszContactOwner = m_szModuleName;
 
-- 
cgit v1.2.3