summaryrefslogtreecommitdiff
path: root/plugins/ListeningTo
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2017-11-27 00:12:03 +0300
committerKirill Volinsky <mataes2007@gmail.com>2017-11-27 00:12:03 +0300
commit48affc01c9a19f3ce39a4600ec6b8e0b247b80c1 (patch)
treebf3b9a4e139ec0fb2831da27942772933e43ef28 /plugins/ListeningTo
parent56d1702de011963f3506a481a43c68beb97c8fe8 (diff)
add module name (part 1)
Diffstat (limited to 'plugins/ListeningTo')
-rw-r--r--plugins/ListeningTo/src/listeningto.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/ListeningTo/src/listeningto.cpp b/plugins/ListeningTo/src/listeningto.cpp
index ad77475d8a..28865dfe1c 100644
--- a/plugins/ListeningTo/src/listeningto.cpp
+++ b/plugins/ListeningTo/src/listeningto.cpp
@@ -104,6 +104,7 @@ void RebuildMenu()
| (ListeningToEnabled(info->proto, TRUE) ? CMIF_CHECKED : 0)
| (opts.enable_sending ? 0 : CMIF_GRAYED);
+ mi.Module = MODULE_NAME;
info->hMenu = Menu_AddMainMenuItem(&mi);
Menu_ConfigureItem(info->hMenu, MCI_OPT_EXECPARAM, i);
}
@@ -198,6 +199,7 @@ int ModulesLoaded(WPARAM, LPARAM)
mi.name.w = LPGENW("Listening to");
mi.flags = CMIF_UNICODE;
mi.hIcolibItem = iconList[0].hIcolib;
+ mi.Module = MODULE_NAME;
hMainMenuGroup = Menu_AddMainMenuItem(&mi);
mi.root = hMainMenuGroup;
@@ -211,6 +213,7 @@ int ModulesLoaded(WPARAM, LPARAM)
mi.flags = CMIF_UNICODE
| (ListeningToEnabled(nullptr, true) ? CMIF_CHECKED : 0)
| (opts.enable_sending ? 0 : CMIF_GRAYED);
+ mi.Module = MODULE_NAME;
proto_items.resize(1);
proto_items[0].hMenu = Menu_AddMainMenuItem(&mi);
proto_items[0].proto[0] = 0;