diff options
author | George Hazan <george.hazan@gmail.com> | 2024-09-02 20:42:37 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-09-02 20:42:37 +0300 |
commit | e3e89f1237a1adc7bf71824c113e4ad7c5d34cfe (patch) | |
tree | f15fb2ae53296703661e0c42c6c14447d8fb8d9b /protocols/SkypeWeb/src/skype_menus.cpp | |
parent | 6753aca9ffa6a0569cf6cba2a47cda0e364f458c (diff) |
fixes #4595 (despite custom icons)
Diffstat (limited to 'protocols/SkypeWeb/src/skype_menus.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_menus.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_menus.cpp b/protocols/SkypeWeb/src/skype_menus.cpp index e555a1539b..5e8b35c632 100644 --- a/protocols/SkypeWeb/src/skype_menus.cpp +++ b/protocols/SkypeWeb/src/skype_menus.cpp @@ -77,6 +77,9 @@ void CSkypeProto::InitMenus() CreateServiceFunction(mi.pszService, GlobalService<&CSkypeProto::UnblockContact>);
}
+/////////////////////////////////////////////////////////////////////////////////////////
+// Protocol's menu in the status bar
+
void CSkypeProto::OnBuildProtoMenu()
{
CMenuItem mi(&g_plugin);
@@ -85,7 +88,14 @@ void CSkypeProto::OnBuildProtoMenu() mi.pszService = "/CreateNewChat";
CreateProtoService(mi.pszService, &CSkypeProto::SvcCreateChat);
mi.name.a = LPGEN("Create new chat");
- mi.position = SMI_POSITION + SMI_CREATECHAT;
+ mi.position = 200000;
mi.hIcolibItem = g_plugin.getIconHandle(IDI_CONFERENCE);
Menu_AddProtoMenuItem(&mi, m_szModuleName);
+
+ mi.pszService = "/SetMood";
+ CreateProtoService(mi.pszService, &CSkypeProto::SvcSetMood);
+ mi.name.a = LPGEN("Set own mood");
+ mi.position++;
+ mi.hIcolibItem = Skin_GetIconHandle(SKINICON_OTHER_USERONLINE);
+ Menu_AddProtoMenuItem(&mi, m_szModuleName);
}
|