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/Watrack/stat/statlog.pas | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'plugins/Watrack/stat') diff --git a/plugins/Watrack/stat/statlog.pas b/plugins/Watrack/stat/statlog.pas index 7fee4c5ef9..7ae6f96cb7 100644 --- a/plugins/Watrack/stat/statlog.pas +++ b/plugins/Watrack/stat/statlog.pas @@ -583,13 +583,14 @@ begin FillChar(mi, sizeof(mi), 0); SET_UID(@mi, '40F4D15E-7D15-4E7B-A624-2F794586D960'); - mi.root :=Menu_CreateRoot(MO_MAIN, 'Watrack', MenuReportPos, 0, 0); - mi.hIcon :=IcoLib_GetIcon(IcoBtnReport,0); - mi.szName.a :='Create WATrack report'; - mi.pszService:=MS_WAT_MAKEREPORT; - mi.position :=MenuReportPos; - hMenuReport:=Menu_AddMainMenuItem(@mi); - plStatusHook:=HookEvent(ME_WAT_NEWSTATUS,@NewPlStatus); + mi.root := Menu_CreateRoot(MO_MAIN, 'Watrack', MenuReportPos, 0, 0); + mi.hIcon := IcoLib_GetIcon(IcoBtnReport,0); + mi.szName.a := 'Create WATrack report'; + mi.pszService := MS_WAT_MAKEREPORT; + mi.position := MenuReportPos; + hMenuReport := Menu_AddMainMenuItem(@mi); + + plStatusHook := HookEvent(ME_WAT_NEWSTATUS,@NewPlStatus); end; procedure DeInitProc(aSetDisable:boolean); -- cgit v1.2.3