diff options
author | Robert Pösel <robyer@seznam.cz> | 2016-07-05 17:58:49 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2016-07-05 17:58:49 +0000 |
commit | b17412619a1706782330e116c6c9e5dd00e39dde (patch) | |
tree | 88470882921bb31b61c070937de7b72346e252ac /protocols/FacebookRM/src/theme.cpp | |
parent | ec473b50196a5d04bd0fbcf67f465b5703b5138a (diff) |
Facebook: Provide "Check notifications" and "Check on this day" status menu items
But checking notifications is practically useless, because we're receiving new notifications automatically...
git-svn-id: http://svn.miranda-ng.org/main/trunk@17062 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/theme.cpp')
-rw-r--r-- | protocols/FacebookRM/src/theme.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/protocols/FacebookRM/src/theme.cpp b/protocols/FacebookRM/src/theme.cpp index 8eaf1858cd..ac44acd1b8 100644 --- a/protocols/FacebookRM/src/theme.cpp +++ b/protocols/FacebookRM/src/theme.cpp @@ -263,6 +263,18 @@ void FacebookProto::InitMenu() mi.name.a = LPGEN("Check Newsfeeds");
mi.hIcolibItem = GetIconHandle("newsfeed");
Menu_AddProtoMenuItem(&mi, m_szModuleName);
+
+ mi.pszService = "/CheckNotifications";
+ CreateProtoService(mi.pszService, &FacebookProto::CheckNotifications);
+ mi.name.a = LPGEN("Check Notifications");
+ mi.hIcolibItem = GetIconHandle("notification");
+ Menu_AddProtoMenuItem(&mi, m_szModuleName);
+
+ mi.pszService = "/CheckOnThisDay";
+ CreateProtoService(mi.pszService, &FacebookProto::CheckOnThisDay);
+ mi.name.a = LPGEN("Check On This Day");
+ mi.hIcolibItem = GetIconHandle("mind");
+ Menu_AddProtoMenuItem(&mi, m_szModuleName);
}
int FacebookProto::OnBuildStatusMenu(WPARAM, LPARAM)
|