summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_menus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/SkypeWeb/src/skype_menus.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_menus.cpp13
1 files changed, 1 insertions, 12 deletions
diff --git a/protocols/SkypeWeb/src/skype_menus.cpp b/protocols/SkypeWeb/src/skype_menus.cpp
index 47c9138cd4..4c5c1c3049 100644
--- a/protocols/SkypeWeb/src/skype_menus.cpp
+++ b/protocols/SkypeWeb/src/skype_menus.cpp
@@ -108,19 +108,8 @@ void CSkypeProto::UninitMenus()
int CSkypeProto::OnInitStatusMenu()
{
- HGENMENU hStatusMenuRoot = Menu_GetProtocolRoot(m_szModuleName);
- if (!hStatusMenuRoot)
- {
- CMenuItem mi;
- mi.name.t = m_tszUserName;
- mi.position = -1999901006;
- mi.flags = CMIF_TCHAR | CMIF_KEEPUNTRANSLATED;
- mi.hIcolibItem = Skin_GetIconHandle("main");
- hStatusMenuRoot = Menu_AddProtoMenuItem(&mi);
- }
-
CMenuItem mi;
- mi.root = hStatusMenuRoot;
+ mi.root = Menu_GetProtocolRoot(this);
mi.pszService = "/CreateNewChat";
CreateProtoService(mi.pszService, &CSkypeProto::SvcCreateChat);