summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_menus.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-04-20 19:55:50 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-04-20 19:55:50 +0000
commitd721eb216a8c38e4f0948ef652d0e89af3a347fd (patch)
tree9200c1adb211df87ff9cd09991fc2a44c3278f61 /protocols/SkypeWeb/src/skype_menus.cpp
parent883ac8bf82480595c0b013657736913418da6b61 (diff)
SkypeWeb: Chat creating part 1.1.
git-svn-id: http://svn.miranda-ng.org/main/trunk@12989 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_menus.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_menus.cpp16
1 files changed, 6 insertions, 10 deletions
diff --git a/protocols/SkypeWeb/src/skype_menus.cpp b/protocols/SkypeWeb/src/skype_menus.cpp
index 1b4494312e..8b640a423b 100644
--- a/protocols/SkypeWeb/src/skype_menus.cpp
+++ b/protocols/SkypeWeb/src/skype_menus.cpp
@@ -104,25 +104,21 @@ int CSkypeProto::OnInitStatusMenu()
mi.flags = CMIF_ROOTPOPUP | CMIF_TCHAR | CMIF_KEEPUNTRANSLATED;
mi.icolibItem = GetSkinIconHandle("main");
hStatusMunuRoot = /*m_hMenuRoot = */Menu_AddProtoMenuItem(&mi);
-
- /*
- mi.pszService = MODULE"/CreateNewChat";
- mi.ptszName = LPGENT("Create new chat");
- mi.position = 10009 + PMI_CREATECHAT;
- mi.icolibItem = LoadSkinnedIconHandle(SKINICON_CHAT_JOIN);
- ProtoMenuItems[PMI_CREATECHAT] = Menu_AddProtoMenuItem(&mi);
- CreateServiceFunction(mi.pszService, GlobalService<&CSkypeProto::SvcCreateChat>);
- */
}
+
/*else
{
if (m_hMenuRoot)
CallService(MO_REMOVEMENUITEM, (WPARAM)m_hMenuRoot, 0);
m_hMenuRoot = NULL;
}*/
-
mi.hParentMenu = hStatusMunuRoot;
mi.flags = CMIF_CHILDPOPUP | CMIF_TCHAR;
+ mi.ptszName = LPGENT("Create new chat");
+ mi.pszService = MODULE"/CreateNewChat";
+ mi.position = SMI_POSITION + PMI_CREATECHAT;
+ Menu_AddProtoMenuItem(&mi);
+ CreateServiceFunction(mi.pszService, GlobalService<&CSkypeProto::SvcCreateChat>);
return 0;
} \ No newline at end of file