summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/history_menus.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-02-20 15:18:40 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-02-20 15:18:40 +0300
commit827327682d75718dea04ff0ede7b46cb746d2ec5 (patch)
tree9f3123de15200a4da7bce716f7622e8571f20549 /plugins/NewStory/src/history_menus.cpp
parentb37158418475db921a89452e94e51affd46949c6 (diff)
fixes #2747 (unified System History menu item creation)
Diffstat (limited to 'plugins/NewStory/src/history_menus.cpp')
-rw-r--r--plugins/NewStory/src/history_menus.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/plugins/NewStory/src/history_menus.cpp b/plugins/NewStory/src/history_menus.cpp
index 1a38c1c05b..2a5b05c240 100644
--- a/plugins/NewStory/src/history_menus.cpp
+++ b/plugins/NewStory/src/history_menus.cpp
@@ -34,7 +34,7 @@ void InitMenus()
hmiHistory = Menu_AddContactMenuItem(&mi);
CreateServiceFunction(mi.pszService, svcShowNewstory);
- SET_UID(mi, 0xc20d7a69, 0x7607, 0x4aad, 0xa7, 0x42, 0x10, 0x86, 0xfb, 0x32, 0x49, 0x21);
+ SET_UID(mi, 0x0d4306aa, 0xe31e, 0x46ee, 0x89, 0x88, 0x3a, 0x2e, 0x05, 0xa6, 0xf3, 0xbc);
mi.pszService = "Newstory/EmptyHistory";
mi.name.a = LPGEN("Empty history");
mi.position = 1000090001;
@@ -42,14 +42,5 @@ void InitMenus()
hmiEmpty = Menu_AddContactMenuItem(&mi);
CreateServiceFunction(mi.pszService, svcEmptyHistory);
- // Main menu items
- SET_UID(mi, 0xc20d7a69, 0x7607, 0x4aad, 0xa7, 0x42, 0x10, 0x86, 0xfb, 0x32, 0x49, 0x22);
- mi.pszService = "Newstory/System";
- mi.name.a = LPGEN("System history");
- mi.position = 1000090000;
- mi.hIcon = g_plugin.getIcon(ICO_NEWSTORY);
- Menu_AddMainMenuItem(&mi);
- CreateServiceFunction(mi.pszService, svcShowSystemNewstory);
-
HookEvent(ME_CLIST_PREBUILDCONTACTMENU, OnPrebuildContactMenu);
}