From 66cb0e5b93b88b84599c1c32f46a3ff847517c57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Sun, 28 Jul 2013 12:37:37 +0000 Subject: Facebook: Post status improvements (part 2) - ability to post statuses to other contact's wall git-svn-id: http://svn.miranda-ng.org/main/trunk@5509 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/theme.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'protocols/FacebookRM/src/theme.cpp') diff --git a/protocols/FacebookRM/src/theme.cpp b/protocols/FacebookRM/src/theme.cpp index ffed611d22..ce3fc657d3 100644 --- a/protocols/FacebookRM/src/theme.cpp +++ b/protocols/FacebookRM/src/theme.cpp @@ -101,6 +101,13 @@ void InitContactMenus() CreateServiceFunction(mi.pszService,GlobalService<&FacebookProto::VisitFriendship>); g_hContactMenuItems[CMI_VISIT_FRIENDSHIP] = Menu_AddContactMenuItem(&mi); + mi.position=-2000006001; + mi.icolibItem = GetIconHandle("mind"); + mi.pszName = LPGEN("Share status..."); + mi.pszService = "FacebookProto/Mind"; + CreateServiceFunction(mi.pszService,GlobalService<&FacebookProto::OnMind>); + g_hContactMenuItems[CMI_POST_STATUS] = Menu_AddContactMenuItem(&mi); + mi.position=-2000006002; mi.icolibItem = GetIconHandle("poke"); mi.pszName = LPGEN("Poke"); @@ -150,6 +157,7 @@ int FacebookProto::OnPrebuildContactMenu(WPARAM wParam,LPARAM lParam) Menu_ShowItem(g_hContactMenuItems[CMI_VISIT_PROFILE], true); Menu_ShowItem(g_hContactMenuItems[CMI_VISIT_FRIENDSHIP], !bIsChatroom); + Menu_ShowItem(g_hContactMenuItems[CMI_POST_STATUS], !bIsChatroom); if (!isOffline() && !bIsChatroom) { @@ -196,7 +204,7 @@ int FacebookProto::OnBuildStatusMenu(WPARAM wParam,LPARAM lParam) //CreateProtoService(m_szModuleName,"/Mind",&FacebookProto::OnMind,this); strcpy(tDest,"/Mind"); mi.hParentMenu = hRoot; - mi.pszName = LPGEN("Mind..."); + mi.pszName = LPGEN("Share status..."); mi.icolibItem = GetIconHandle("mind"); m_hStatusMind = Menu_AddProtoMenuItem(&mi); -- cgit v1.2.3