summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern
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/Clist_modern
parent56d1702de011963f3506a481a43c68beb97c8fe8 (diff)
add module name (part 1)
Diffstat (limited to 'plugins/Clist_modern')
-rw-r--r--plugins/Clist_modern/src/cluiframes.cpp2
-rw-r--r--plugins/Clist_modern/src/groupmenu.cpp2
-rw-r--r--plugins/Clist_modern/src/modern_clistmenus.cpp1
-rw-r--r--plugins/Clist_modern/src/modern_clui.cpp1
4 files changed, 6 insertions, 0 deletions
diff --git a/plugins/Clist_modern/src/cluiframes.cpp b/plugins/Clist_modern/src/cluiframes.cpp
index f5e130c5e7..ad492e83d9 100644
--- a/plugins/Clist_modern/src/cluiframes.cpp
+++ b/plugins/Clist_modern/src/cluiframes.cpp
@@ -1495,6 +1495,7 @@ static int CLUIFramesLoadMainMenu()
mi.position = separator++;
mi.name.w = F.TitleBar.tbname ? F.TitleBar.tbname : F.name;
mi.pszService = nullptr;
+ mi.Module = "Clist_modern";
g_frameMenus.insert(F.MenuHandles.MainMenuItem = Menu_AddMainMenuItem(&mi));
CLUIFramesCreateMenuForFrame(F.id, F.MenuHandles.MainMenuItem, separator, true);
CLUIFramesModifyMainMenuItems(F.id, 0);
@@ -3332,6 +3333,7 @@ int LoadCLUIFramesModule(void)
mi.hIcolibItem = Skin_GetIconHandle(SKINICON_OTHER_FRAME);
mi.position = 3000090000;
mi.name.a = LPGEN("Frames");
+ mi.Module = "Clist_modern";
cont.MainMenuItem = Menu_AddMainMenuItem(&mi);
UNSET_UID(mi);
diff --git a/plugins/Clist_modern/src/groupmenu.cpp b/plugins/Clist_modern/src/groupmenu.cpp
index 3f1cc65679..c6bde070fa 100644
--- a/plugins/Clist_modern/src/groupmenu.cpp
+++ b/plugins/Clist_modern/src/groupmenu.cpp
@@ -63,6 +63,7 @@ void InitGroupMenus(void)
mi.pszService = "Clist/ShowHide";
mi.hIcolibItem = Skin_GetIconHandle(SKINICON_OTHER_SHOWHIDE);
mi.name.a = LPGEN("&Hide/show");
+ mi.Module = "Clist_modern";
Menu_AddGroupMenuItem(&mi);
SET_UID(mi, 0xb0f29663, 0x68b6, 0x494c, 0xaf, 0xab, 0xf6, 0x86, 0x45, 0xb8, 0xdb, 0xde);
@@ -137,5 +138,6 @@ void InitSubGroupMenus(void)
mi.position = 1002;
mi.pszService = "CLISTMENUSSubGroup/GroupMenuExecProxy";
mi.name.a = LPGEN("&Show offline users in here");
+ mi.Module = "Clist_modern";
hShowOfflineUsersHereMenuItem = Menu_AddSubGroupMenuItem(&mi, &gmp);
}
diff --git a/plugins/Clist_modern/src/modern_clistmenus.cpp b/plugins/Clist_modern/src/modern_clistmenus.cpp
index 4148a30712..56e95f8ebf 100644
--- a/plugins/Clist_modern/src/modern_clistmenus.cpp
+++ b/plugins/Clist_modern/src/modern_clistmenus.cpp
@@ -128,6 +128,7 @@ int LoadFavoriteContactMenu()
SET_UID(mi, 0xf99a2320, 0xc024, 0x48bd, 0x81, 0xf7, 0x9f, 0xa2, 0x5, 0xb0, 0x7f, 0xdc);
mi.name.w = FAVMENUROOTNAME;
mi.flags = CMIF_UNICODE;
+ mi.Module = "Clist_modern";
hFavoriteContactMenu = Menu_AddContactMenuItem(&mi);
Menu_ConfigureItem(hFavoriteContactMenu, MCI_OPT_UNIQUENAME, "ModernClistMenu_ContactRate");
diff --git a/plugins/Clist_modern/src/modern_clui.cpp b/plugins/Clist_modern/src/modern_clui.cpp
index 521f49d15d..ef66617cb9 100644
--- a/plugins/Clist_modern/src/modern_clui.cpp
+++ b/plugins/Clist_modern/src/modern_clui.cpp
@@ -332,6 +332,7 @@ HRESULT CLUI::RegisterAvatarMenu()
mi.hIcolibItem = iconItem[0].hIcolib;
mi.name.a = LPGEN("Show contact &avatar");
mi.pszService = "CList/ShowContactAvatar";
+ mi.Module = "Clist_modern";
hShowAvatarMenuItem = Menu_AddContactMenuItem(&mi);
SET_UID(mi, 0x13f93d1b, 0xd470, 0x45de, 0x86, 0x8f, 0x22, 0x3b, 0x89, 0x4f, 0x4f, 0xa3);