summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_clistmenus.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-09-03 19:09:15 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-09-03 19:09:15 +0000
commit68d7bfe7bd48c687ef38d6b8a646a4c18beaf9b8 (patch)
tree8b4be8d695b50f1d6a88f9eb3b43da9af6b9345d /plugins/Clist_modern/src/modern_clistmenus.cpp
parentd3a3d05b3f73c64d9977841ef122a8e7e2fb7e7d (diff)
clist_modern: menu uid
git-svn-id: http://svn.miranda-ng.org/main/trunk@15171 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_clistmenus.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_clistmenus.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/Clist_modern/src/modern_clistmenus.cpp b/plugins/Clist_modern/src/modern_clistmenus.cpp
index 11408a33d7..6057dc87dd 100644
--- a/plugins/Clist_modern/src/modern_clistmenus.cpp
+++ b/plugins/Clist_modern/src/modern_clistmenus.cpp
@@ -94,6 +94,8 @@ static int FAV_OnContactMenuBuild(WPARAM hContact, LPARAM)
BOOL bModifyMenu = FALSE;
CMenuItem mi;
+
+ SET_UID(mi, 0xf99a2320, 0xc024, 0x48bd, 0x81, 0xf7, 0x9f, 0xa2, 0x5, 0xb0, 0x7f, 0xdc);
mi.hIcolibItem = iconList[bContactRate].hIcolib;
mi.flags = CMIF_TCHAR;
if (!bContactRate)
@@ -122,6 +124,7 @@ static int FAV_OnContactMenuBuild(WPARAM hContact, LPARAM)
}
int i;
+ mi.uid = { 0 };
for (i = 0; i < _countof(rates); i++) {
mi.flags = CMIF_TCHAR | ((bContactRate == i) ? CMIF_CHECKED : 0);
if (bModifyMenu && hFavoriteContactMenuItems[i])
@@ -140,6 +143,7 @@ static int FAV_OnContactMenuBuild(WPARAM hContact, LPARAM)
if (bModifyMenu && hShowIfOflineItem)
Menu_ModifyItem(hShowIfOflineItem, NULL, INVALID_HANDLE_VALUE, mi.flags);
else {
+ SET_UID(mi, 0xbb78b0d3, 0xb56, 0x4d4c, 0xb5, 0x4d, 0x7c, 0x12, 0xc9, 0x6c, 0x5e, 0xe8);
mi.pszService = CLUI_FAVTOGGLESHOWOFFLINE;
mi.position = -100000000;
mi.name.t = LPGENT("Show even if offline");