From 48affc01c9a19f3ce39a4600ec6b8e0b247b80c1 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Mon, 27 Nov 2017 00:12:03 +0300 Subject: add module name (part 1) --- plugins/HTTPServer/src/GuiElements.cpp | 1 + plugins/HTTPServer/src/main.cpp | 1 + 2 files changed, 2 insertions(+) (limited to 'plugins/HTTPServer/src') diff --git a/plugins/HTTPServer/src/GuiElements.cpp b/plugins/HTTPServer/src/GuiElements.cpp index 5e1134b2c9..0dffe76acd 100644 --- a/plugins/HTTPServer/src/GuiElements.cpp +++ b/plugins/HTTPServer/src/GuiElements.cpp @@ -1480,6 +1480,7 @@ void InitGuiElements() mi.position = -2000019955; mi.name.w = LPGENW("HTTP Share new file"); mi.pszService = MS_SHARE_NEW_FILE; + mi.Module = MODULE; hShareNewFileMenuItem = Menu_AddContactMenuItem(&mi); if (db_get_b(NULL, MODULE, "AddStatisticsMenuItem", 1) != 0) { diff --git a/plugins/HTTPServer/src/main.cpp b/plugins/HTTPServer/src/main.cpp index fb821023f6..4c8ba27c82 100644 --- a/plugins/HTTPServer/src/main.cpp +++ b/plugins/HTTPServer/src/main.cpp @@ -926,6 +926,7 @@ extern "C" __declspec(dllexport) int Load() mi.position = 1000085000; mi.name.a = LPGEN("Enable HTTP server"); mi.pszService = MS_HTTP_ACCEPT_CONNECTIONS; + mi.Module = MODULE; hAcceptConnectionsMenuItem = Menu_AddMainMenuItem(&mi); } -- cgit v1.2.3