diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-09-04 18:43:57 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-09-04 18:43:57 +0000 |
commit | 5d61b90dba11638d99d7efce12456540dd4e4185 (patch) | |
tree | de1425fbd6aac54c14cbd20933e98180c818fae2 | |
parent | 7f8ddf50658e4f5a7001dc01d37ed0bfdeddaee3 (diff) |
SmileyAdd: menu uid
git-svn-id: http://svn.miranda-ng.org/main/trunk@15203 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | plugins/SmileyAdd/src/main.cpp | 1 | ||||
-rw-r--r-- | plugins/SmileyAdd/src/services.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/plugins/SmileyAdd/src/main.cpp b/plugins/SmileyAdd/src/main.cpp index a162557236..1749c70a8e 100644 --- a/plugins/SmileyAdd/src/main.cpp +++ b/plugins/SmileyAdd/src/main.cpp @@ -51,6 +51,7 @@ static IconItem icon = { LPGEN("Button smiley"), "SmileyAdd_ButtonSmiley", IDI_S static int ModulesLoaded(WPARAM, LPARAM)
{
CMenuItem mi;
+ SET_UID(mi, 0x5ba238de, 0xe16b, 0x4928, 0xa0, 0x70, 0xff, 0x43, 0xf6, 0x1f, 0x16, 0xd4);
mi.position = 2000070050;
mi.hIcolibItem = icon.hIcolib;
mi.name.a = LPGEN("Assign smiley category");
diff --git a/plugins/SmileyAdd/src/services.cpp b/plugins/SmileyAdd/src/services.cpp index 41d34a9775..a89c92ca7c 100644 --- a/plugins/SmileyAdd/src/services.cpp +++ b/plugins/SmileyAdd/src/services.cpp @@ -294,7 +294,7 @@ int RebuildContactMenu(WPARAM wParam, LPARAM) CMenuItem mi;
mi.root = hContactMenuItem;
- mi.flags = CMIF_TCHAR;
+ mi.flags = CMIF_TCHAR | CMIF_UNMOVABLE;
mi.pszService = MS_SMILEYADD_CUSTOMCATMENU;
bool nonecheck = true;
|