From f3151f33e282214080abacf04521296acec5e9de Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 7 Dec 2015 16:15:24 +0000 Subject: fix to apply the unique identifiers to all menu roots git-svn-id: http://svn.miranda-ng.org/main/trunk@15826 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Ping/src/menu.cpp | 1 + plugins/Ping/src/pingthread.cpp | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'plugins/Ping') diff --git a/plugins/Ping/src/menu.cpp b/plugins/Ping/src/menu.cpp index 73d72c946e..4d886697dc 100644 --- a/plugins/Ping/src/menu.cpp +++ b/plugins/Ping/src/menu.cpp @@ -9,6 +9,7 @@ void InitMenus() CMenuItem mi; mi.flags = CMIF_TCHAR; mi.root = Menu_CreateRoot(MO_MAIN, LPGENT("Ping"), 500099900); + Menu_ConfigureItem(mi.root, MCI_OPT_UID, "FF273885-6AEC-4C8A-B8BC-9247D920F223"); SET_UID(mi, 0xc9a4d17a, 0xd5fa, 0x40d9, 0xbe, 0x7b, 0x9e, 0x2e, 0x5b, 0xbf, 0x8, 0x59); mi.position = 2000060000; diff --git a/plugins/Ping/src/pingthread.cpp b/plugins/Ping/src/pingthread.cpp index ac725f7557..1a09b4feb8 100644 --- a/plugins/Ping/src/pingthread.cpp +++ b/plugins/Ping/src/pingthread.cpp @@ -902,9 +902,11 @@ void InitList() CreateServiceFunction(PLUG "/ShowWindow", PingPlugShowWindow); CMenuItem mi; + mi.root = Menu_CreateRoot(MO_MAIN, LPGENT("Ping"), 1000200001); + Menu_ConfigureItem(mi.root, MCI_OPT_UID, "7CFBF239-86B5-48B2-8D5B-39E09A7DB514"); + SET_UID(mi, 0x4adbd753, 0x27d6, 0x457a, 0xa6, 0x6, 0xdf, 0x4f, 0x2c, 0xd8, 0xb9, 0x3b); mi.flags = CMIF_TCHAR; - mi.root = Menu_CreateRoot(MO_MAIN, LPGENT("Ping"), 1000200001); mi.position = 3000320001; mi.name.t = LPGENT("Show/Hide &Ping Window"); mi.pszService = PLUG "/ShowWindow"; -- cgit v1.2.3