diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2017-11-27 00:12:03 +0300 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2017-11-27 00:12:03 +0300 |
commit | 48affc01c9a19f3ce39a4600ec6b8e0b247b80c1 (patch) | |
tree | bf3b9a4e139ec0fb2831da27942772933e43ef28 /plugins/SecureIM | |
parent | 56d1702de011963f3506a481a43c68beb97c8fe8 (diff) |
add module name (part 1)
Diffstat (limited to 'plugins/SecureIM')
-rw-r--r-- | plugins/SecureIM/src/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/SecureIM/src/main.cpp b/plugins/SecureIM/src/main.cpp index a56200fff4..2b026a2bd5 100644 --- a/plugins/SecureIM/src/main.cpp +++ b/plugins/SecureIM/src/main.cpp @@ -45,6 +45,7 @@ static HGENMENU MyAddMenuItem(LPCWSTR name, int pos, LPCSTR szUid, HICON hicon, mi.hIcolibItem = hicon;
mi.name.w = (wchar_t*)name;
mi.pszService = (char*)service;
+ mi.Module = MODULENAME;
HGENMENU res = Menu_AddContactMenuItem(&mi);
Menu_ConfigureItem(res, MCI_OPT_UID, szUid);
return res;
@@ -58,6 +59,7 @@ static HGENMENU MyAddSubItem(HGENMENU hRoot, LPCSTR name, int pos, int poppos, L mi.name.a = (char*)name;
mi.root = hRoot;
mi.pszService = (char*)service;
+ mi.Module = MODULENAME;
HGENMENU res = Menu_AddContactMenuItem(&mi);
Menu_ConfigureItem(res, MCI_OPT_EXECPARAM, poppos);
return res;
|