summaryrefslogtreecommitdiff
path: root/protocols/MSN/src/msn_menu.cpp
diff options
context:
space:
mode:
authorPiotr Piastucki <leech.miranda@gmail.com>2015-05-31 09:42:28 +0000
committerPiotr Piastucki <leech.miranda@gmail.com>2015-05-31 09:42:28 +0000
commit03512ff2ed0f3d1ed6857ee85b0eb7268931ec3f (patch)
tree3d6520e755793440ba8afbe4fbfb22012746c8ee /protocols/MSN/src/msn_menu.cpp
parentc8e2e90a1acac55b97a8dd6c009483c2987bdf6c (diff)
Removed obsolete functions like setting Nickname
Ensure presence of wlid Setting desired status on startup git-svn-id: http://svn.miranda-ng.org/main/trunk@13931 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/src/msn_menu.cpp')
-rw-r--r--protocols/MSN/src/msn_menu.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/MSN/src/msn_menu.cpp b/protocols/MSN/src/msn_menu.cpp
index bbe49cf4b4..9cb69338a9 100644
--- a/protocols/MSN/src/msn_menu.cpp
+++ b/protocols/MSN/src/msn_menu.cpp
@@ -200,7 +200,6 @@ static INT_PTR MsnMenuSendNetMeeting(WPARAM wParam, LPARAM lParam)
CMsnProto* ppro = GetProtoInstanceByHContact(wParam);
return (ppro) ? ppro->MsnSendNetMeeting(wParam, lParam) : 0;
}
-#endif
/////////////////////////////////////////////////////////////////////////////////////////
// SetNicknameCommand - sets nick name
@@ -266,6 +265,7 @@ INT_PTR CMsnProto::SetNicknameUI(WPARAM, LPARAM)
ShowWindow(hwndSetNickname, SW_SHOW);
return 0;
}
+#endif
//////////////////////////////////////////////////////////////////////////////////////
// Menus initialization
@@ -296,12 +296,14 @@ void CMsnProto::MsnInitMainMenu(void)
mi.hParentMenu = hRoot;
mi.pszService = servicefunction;
+#ifdef OBSOLETE
mir_strcpy(tDest, MS_SET_NICKNAME_UI);
CreateProtoService(MS_SET_NICKNAME_UI, &CMsnProto::SetNicknameUI);
mi.position = 201001;
mi.icolibItem = GetIconHandle(IDI_MSN);
mi.pszName = LPGEN("Set &Nickname");
menuItemsMain[0] = Menu_AddProtoMenuItem(&mi);
+#endif
mir_strcpy(tDest, MSN_INVITE);
CreateProtoService(MSN_INVITE, &CMsnProto::MsnInviteCommand);