summaryrefslogtreecommitdiff
path: root/plugins/Watrack/proto/proto.pas
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-12-07 16:15:24 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-12-07 16:15:24 +0000
commitf3151f33e282214080abacf04521296acec5e9de (patch)
treee6983507bbc83c6d788cf5bcf9d5e2da45f1daa4 /plugins/Watrack/proto/proto.pas
parentfcb800cc6b9c2bf47a65750fa99065cb2a935b87 (diff)
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
Diffstat (limited to 'plugins/Watrack/proto/proto.pas')
-rw-r--r--plugins/Watrack/proto/proto.pas14
1 files changed, 8 insertions, 6 deletions
diff --git a/plugins/Watrack/proto/proto.pas b/plugins/Watrack/proto/proto.pas
index 568302575f..bcb997a081 100644
--- a/plugins/Watrack/proto/proto.pas
+++ b/plugins/Watrack/proto/proto.pas
@@ -354,13 +354,15 @@ begin
RegisterIcons;
FillChar(mi, sizeof(mi), 0);
+ mi.root := Menu_CreateRoot(MO_CONTACT, 'Watrack', 0, 0, 0);
+ Menu_ConfigureItem(mi.root, MCI_OPT_UID, 'CAEA4B95-A873-429F-A083-BB2DF51E2E45');
+
SET_UID(@mi, '47D372B2-AA27-42B3-A3CB-85D3CE5F6A95');
- mi.root :=Menu_CreateRoot(MO_CONTACT, 'Watrack', 0, 0, 0);
- mi.flags :=CMIF_NOTOFFLINE or CMIF_NOTOFFLIST;
- mi.hIcon :=IcoLib_GetIcon(IcoBtnContext,0);
- mi.szName.a :='Get user''s Music Info';
- mi.pszService :=MS_WAT_GETCONTACTINFO;
- hContactMenuItem:=Menu_AddContactMenuItem(@mi);
+ mi.flags := CMIF_NOTOFFLINE or CMIF_NOTOFFLIST;
+ mi.hIcon := IcoLib_GetIcon(IcoBtnContext,0);
+ mi.szName.a := 'Get user''s Music Info';
+ mi.pszService := MS_WAT_GETCONTACTINFO;
+ hContactMenuItem := Menu_AddContactMenuItem(@mi);
SetProtocol;
RegisterContacts;