diff options
Diffstat (limited to 'protocols/SkypeWeb')
-rw-r--r-- | protocols/SkypeWeb/src/skype_menus.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_menus.cpp b/protocols/SkypeWeb/src/skype_menus.cpp index 8b640a423b..0428bfc9e5 100644 --- a/protocols/SkypeWeb/src/skype_menus.cpp +++ b/protocols/SkypeWeb/src/skype_menus.cpp @@ -91,6 +91,7 @@ int CSkypeProto::OnInitStatusMenu() {
char text[MAX_PATH];
mir_strcpy(text, m_szModuleName);
+ char *tDest = text + strlen(text);
CLISTMENUITEM mi = { sizeof(mi) };
mi.pszService = text;
@@ -114,11 +115,14 @@ int CSkypeProto::OnInitStatusMenu() }*/
mi.hParentMenu = hStatusMunuRoot;
mi.flags = CMIF_CHILDPOPUP | CMIF_TCHAR;
+
+
+ mir_strcpy(tDest, "/CreateNewChat");
+ CreateProtoService(tDest, &CSkypeProto::SvcCreateChat);
mi.ptszName = LPGENT("Create new chat");
- mi.pszService = MODULE"/CreateNewChat";
mi.position = SMI_POSITION + PMI_CREATECHAT;
+ mi.icolibItem = GetSkinIconHandle("conference");
Menu_AddProtoMenuItem(&mi);
- CreateServiceFunction(mi.pszService, GlobalService<&CSkypeProto::SvcCreateChat>);
return 0;
}
\ No newline at end of file |