summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_menus.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-04-26 12:13:35 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-04-26 12:13:35 +0000
commite77a19c4e56e50b58783a9fd7ab7e098b51d05f4 (patch)
tree1b5ffd8e40ffd7ba454aeedf835a0ec7721a4d5e /protocols/SkypeWeb/src/skype_menus.cpp
parent1cf949187a4f38580a6ec225472b171d34750f46 (diff)
SkypeWeb:
Chat destoying moved to OnLeaveChatRoom. MessageBox before destroying chat. git-svn-id: http://svn.miranda-ng.org/main/trunk@13165 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_menus.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_menus.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/protocols/SkypeWeb/src/skype_menus.cpp b/protocols/SkypeWeb/src/skype_menus.cpp
index e461ac5b81..0d530c703c 100644
--- a/protocols/SkypeWeb/src/skype_menus.cpp
+++ b/protocols/SkypeWeb/src/skype_menus.cpp
@@ -29,7 +29,6 @@ int CSkypeProto::OnPrebuildContactMenu(WPARAM hContact, LPARAM)
if (this->isChatRoom(hContact))
{
- Menu_ShowItem(ContactMenuItems[CMI_DESTROYCHAT], true);
return 0;
}
@@ -83,13 +82,6 @@ void CSkypeProto::InitMenus()
mi.icolibItem = GetIconHandle("synchistory");
ContactMenuItems[CMI_GETSERVERHISTORY] = Menu_AddContactMenuItem(&mi);
CreateServiceFunction(mi.pszService, GlobalService<&CSkypeProto::GetContactHistory>);
-
- mi.pszService = MODULE"/DestroyChat";
- mi.position = CMI_POSITION + CMI_DESTROYCHAT;
- mi.icolibItem = LoadSkinnedIconHandle(SKINICON_CHAT_LEAVE);
- mi.ptszName = LPGENT("Destroy room");
- ContactMenuItems[CMI_DESTROYCHAT] = Menu_AddContactMenuItem(&mi);
- CreateServiceFunction(mi.pszService, GlobalService<&CSkypeProto::SvcDestroyChat>);
}
void CSkypeProto::UninitMenus()