diff options
author | George Hazan <george.hazan@gmail.com> | 2013-04-06 23:05:29 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-04-06 23:05:29 +0000 |
commit | 6640a8f419a9ef61ad7af41a419615c2d07b872e (patch) | |
tree | 6dfecb48ccc82c0c372ced9be59255c7408ebafd /protocols/Tlen | |
parent | 06823b967ab360de98fa2c9e685695e1dff6f78a (diff) |
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
Diffstat (limited to 'protocols/Tlen')
-rw-r--r-- | protocols/Tlen/src/tlen.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/Tlen/src/tlen.cpp b/protocols/Tlen/src/tlen.cpp index de5c844120..34e03d3071 100644 --- a/protocols/Tlen/src/tlen.cpp +++ b/protocols/Tlen/src/tlen.cpp @@ -303,11 +303,11 @@ static void initMenuItems(TlenProtocol *proto) mi.ptszName = proto->m_tszUserName;
mi.position = -1999901009;
mi.pszPopupName = (char *)-1;
- mi.flags = CMIF_ROOTPOPUP | CMIF_TCHAR | CMIF_ICONFROMICOLIB;
+ mi.flags = CMIF_ROOTPOPUP | CMIF_TCHAR;
mi.icolibItem = GetIconHandle(IDI_TLEN);
proto->hMenuRoot = Menu_AddMainMenuItem(&mi);
- mi.flags = CMIF_CHILDPOPUP | CMIF_ICONFROMICOLIB;
+ mi.flags = CMIF_CHILDPOPUP;
//mi.pszPopupName = (char *)proto->hMenuRoot;
mi.hParentMenu = (HGENMENU)proto->hMenuRoot;
@@ -347,7 +347,6 @@ static void initMenuItems(TlenProtocol *proto) // "Send picture"
sprintf(text, "%s/SendPicture", proto->m_szModuleName);
CreateServiceFunction_Ex(text, proto, TlenContactMenuHandleSendPicture);
- mi.flags = CMIF_ICONFROMICOLIB;
mi.pszName = LPGEN("Send picture");
mi.position = -2000019030;
mi.icolibItem = GetIconHandle(IDI_IMAGE);
|