diff options
author | George Hazan <george.hazan@gmail.com> | 2015-12-07 16:15:24 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-12-07 16:15:24 +0000 |
commit | f3151f33e282214080abacf04521296acec5e9de (patch) | |
tree | e6983507bbc83c6d788cf5bcf9d5e2da45f1daa4 /plugins/Watrack/stat/statlog.pas | |
parent | fcb800cc6b9c2bf47a65750fa99065cb2a935b87 (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/stat/statlog.pas')
-rw-r--r-- | plugins/Watrack/stat/statlog.pas | 15 |
1 files changed, 8 insertions, 7 deletions
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);
|