From 6640a8f419a9ef61ad7af41a419615c2d07b872e Mon Sep 17 00:00:00 2001 From: George Hazan 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/Yahoo/src/services.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'protocols/Yahoo/src/services.cpp') diff --git a/protocols/Yahoo/src/services.cpp b/protocols/Yahoo/src/services.cpp index 1ad0249b06..c375f29330 100644 --- a/protocols/Yahoo/src/services.cpp +++ b/protocols/Yahoo/src/services.cpp @@ -385,7 +385,7 @@ void CYahooProto::MenuMainInit( void ) if ( hRoot == NULL) { mi.position = 500015000; mi.hParentMenu = HGENMENU_ROOT; - mi.flags = CMIF_ICONFROMICOLIB | CMIF_ROOTPOPUP | CMIF_TCHAR | CMIF_KEEPUNTRANSLATED; + mi.flags = CMIF_ROOTPOPUP | CMIF_TCHAR | CMIF_KEEPUNTRANSLATED; mi.icolibItem = GetIconHandle( IDI_YAHOO ); mi.ptszName = m_tszUserName; hRoot = mainMenuRoot = Menu_AddProtoMenuItem(&mi); @@ -396,7 +396,7 @@ void CYahooProto::MenuMainInit( void ) mainMenuRoot = NULL; } - mi.flags = CMIF_ICONFROMICOLIB | CMIF_CHILDPOPUP; + mi.flags = CMIF_CHILDPOPUP; mi.hParentMenu = hRoot; // Show custom status menu @@ -480,7 +480,6 @@ void CYahooProto::MenuContactInit( void ) char* tDest = servicefunction + lstrlenA( servicefunction ); CLISTMENUITEM mi = { sizeof(mi) }; - mi.flags = CMIF_ICONFROMICOLIB; mi.pszService = servicefunction; mi.pszContactOwner = m_szModuleName; -- cgit v1.2.3