summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-11-27 12:32:05 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-11-27 12:32:05 +0300
commitcc79c1d36c07b905f9d47e5002f90783de92e6cb (patch)
tree7bbad4f326de511109e641fb652133cf970dd4c6 /plugins/Clist_nicer
parent48affc01c9a19f3ce39a4600ec6b8e0b247b80c1 (diff)
slightly optimized way of getting menu item's module name
Diffstat (limited to 'plugins/Clist_nicer')
-rw-r--r--plugins/Clist_nicer/src/clistmenus.cpp1
-rw-r--r--plugins/Clist_nicer/src/cluiframes.cpp2
-rw-r--r--plugins/Clist_nicer/src/groupmenu.cpp1
3 files changed, 0 insertions, 4 deletions
diff --git a/plugins/Clist_nicer/src/clistmenus.cpp b/plugins/Clist_nicer/src/clistmenus.cpp
index a9cbc52167..0aef011081 100644
--- a/plugins/Clist_nicer/src/clistmenus.cpp
+++ b/plugins/Clist_nicer/src/clistmenus.cpp
@@ -371,7 +371,6 @@ int InitCustomMenus(void)
mi.pszService = "CList/SetContactIgnore";
mi.hIcolibItem = iconItem[0].hIcolib;
mi.name.a = LPGEN("&Contact list settings...");
- mi.Module = "Clist_nicer";
Menu_AddContactMenuItem(&mi);
return 0;
}
diff --git a/plugins/Clist_nicer/src/cluiframes.cpp b/plugins/Clist_nicer/src/cluiframes.cpp
index e8345ad2bc..0a2a2d1499 100644
--- a/plugins/Clist_nicer/src/cluiframes.cpp
+++ b/plugins/Clist_nicer/src/cluiframes.cpp
@@ -1350,7 +1350,6 @@ static int CLUIFramesLoadMainMenu()
mi.position = separator;
mi.name.w = F.TitleBar.tbname ? F.TitleBar.tbname : F.name;
mi.pszService = nullptr;
- mi.Module = "Clist_nicer";
g_frameMenus.insert(F.MenuHandles.MainMenuItem = Menu_AddMainMenuItem(&mi));
CLUIFramesCreateMenuForFrame(F.id, F.MenuHandles.MainMenuItem, separator, true);
CLUIFramesModifyMainMenuItems(F.id, 0);
@@ -2963,7 +2962,6 @@ int LoadCLUIFramesModule(void)
mi.position = 3000090000;
mi.name.a = LPGEN("Frames");
mi.pszService = nullptr;
- mi.Module = "Clist_nicer";
cont.MainMenuItem = Menu_AddMainMenuItem(&mi);
UNSET_UID(mi);
diff --git a/plugins/Clist_nicer/src/groupmenu.cpp b/plugins/Clist_nicer/src/groupmenu.cpp
index 1ee775fd69..62b955c8c7 100644
--- a/plugins/Clist_nicer/src/groupmenu.cpp
+++ b/plugins/Clist_nicer/src/groupmenu.cpp
@@ -102,7 +102,6 @@ void InitGroupMenus(void)
mi.pszService = "Clist/ShowHide";
mi.hIcolibItem = Skin_GetIconHandle(SKINICON_OTHER_SHOWHIDE);
mi.name.a = LPGEN("&Hide/show");
- mi.Module = "Clist_nicer";
hHideShowMainMenuItem = Menu_AddGroupMenuItem(&mi);
SET_UID(mi, 0xb0f29663, 0x68b6, 0x494c, 0xaf, 0xab, 0xf6, 0x86, 0x45, 0xb8, 0xdb, 0xde);