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/i_gui.inc | |
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/i_gui.inc')
-rw-r--r-- | plugins/Watrack/i_gui.inc | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/plugins/Watrack/i_gui.inc b/plugins/Watrack/i_gui.inc index c5fb65b270..c00deaae3b 100644 --- a/plugins/Watrack/i_gui.inc +++ b/plugins/Watrack/i_gui.inc @@ -30,13 +30,15 @@ var mi:TMO_MenuItem;
begin
FillChar(mi, sizeof(mi), 0);
+ mi.root := Menu_CreateRoot(MO_MAIN, 'Watrack', 0, 0, 0);
+ Menu_ConfigureItem(mi.root, MCI_OPT_UID, 'CAEA4B95-A873-429F-A083-BB2DF51E2E45');
+
SET_UID(@mi, '85F2D289-04D2-4C7F-A223-A629CED253F0');
- mi.root :=Menu_CreateRoot(MO_MAIN, 'Watrack', 0, 0, 0);
- mi.hIcon :=IcoLib_GetIcon(IcoBtnEnable,0);
- mi.szName.a :='Disable WATrack';
- mi.pszService:=MS_WAT_PLUGINSTATUS;
- mi.position :=MenuDisablePos;
- hMenuDisable:=Menu_AddMainMenuItem(@mi);
+ mi.hIcon := IcoLib_GetIcon(IcoBtnEnable,0);
+ mi.szName.a := 'Disable WATrack';
+ mi.pszService:= MS_WAT_PLUGINSTATUS;
+ mi.position := MenuDisablePos;
+ hMenuDisable := Menu_AddMainMenuItem(@mi);
end;
procedure ChangeMenuIcons(f1:cardinal);
|