summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/HistoryPlusPlus/historypp.dpr13
-rw-r--r--plugins/ImportTXT/importtxt.dpr2
-rw-r--r--plugins/QuickSearch/sr_global.pas1
-rw-r--r--plugins/QuickSearch/sr_window.pas1
-rw-r--r--plugins/Watrack/i_gui.inc1
-rw-r--r--plugins/Watrack/lastfm/lastfm.pas1
-rw-r--r--plugins/Watrack/myshows/myshows.pas1
-rw-r--r--plugins/Watrack/popup/popups.pas1
-rw-r--r--plugins/Watrack/proto/proto.pas1
-rw-r--r--plugins/Watrack/stat/statlog.pas1
-rw-r--r--plugins/mRadio/i_tray.inc6
-rw-r--r--plugins/mRadio/i_visual.inc2
12 files changed, 27 insertions, 4 deletions
diff --git a/plugins/HistoryPlusPlus/historypp.dpr b/plugins/HistoryPlusPlus/historypp.dpr
index 0230b15c99..4f7865cb7e 100644
--- a/plugins/HistoryPlusPlus/historypp.dpr
+++ b/plugins/HistoryPlusPlus/historypp.dpr
@@ -256,34 +256,39 @@ begin
ZeroMemory(@menuitem,SizeOf(menuItem));
menuItem.flags := CMIF_UNICODE;
+ SET_UID(@menuItem, '806B9223-0522-4B6B-AB2C-666D76C45D59');
menuItem.Position := 1000090000;
menuItem.szName.w := MenuHandles[miContact].Name;
menuItem.pszService := MS_HISTORY_SHOWCONTACTHISTORY;
menuItem.hIcon := hppIcons[HPP_ICON_CONTACTHISTORY].handle;
MenuHandles[miContact].Handle := Menu_AddContactMenuItem(@menuItem);
- //create empty item in contact menu
+ // create empty item in contact menu
+ SET_UID(@menuItem, 'BA23B260-0AF7-4336-9703-D47C9AD7B1B0');
menuItem.Position := 1000090001;
menuItem.szName.w := MenuHandles[miEmpty].Name;
menuItem.pszService := MS_HPP_EMPTYHISTORY;
menuItem.hIcon := hppIcons[HPP_ICON_TOOL_DELETEALL].handle;
MenuHandles[miEmpty].Handle := Menu_AddContactMenuItem(@menuItem);
- //create menu item in main menu for system history
+ // create menu item in main menu for system history
+ SET_UID(@menuItem, 'A08805DD-7402-472D-BB46-0C702D03423A');
menuItem.Position:=500060000;
menuItem.szName.w:=MenuHandles[miSystem].Name;
menuItem.pszService := MS_HISTORY_SHOWCONTACTHISTORY;
menuItem.hIcon := hppIcons[HPP_ICON_CONTACTHISTORY].handle;
MenuHandles[miSystem].Handle := Menu_AddMainMenuItem(@menuitem);
- //create menu item in main menu for history search
+ // create menu item in main menu for history search
+ SET_UID(@menuItem, 'A5FE6AE6-7674-4DC0-9F22-9F56AE71E2D7');
menuItem.Position:=500060001;
menuItem.szName.w:=MenuHandles[miSearch].Name;
menuItem.pszService := MS_HPP_SHOWGLOBALSEARCH;
menuItem.hIcon := hppIcons[HPP_ICON_GLOBALSEARCH].handle;
MenuHandles[miSearch].Handle := Menu_AddMainMenuItem(@menuItem);
- //create menu item in main menu for empty system history
+ // create menu item in main menu for empty system history
+ SET_UID(@menuItem, '633AD23C-24B5-4914-B240-AD9FACB564ED');
menuItem.Position:=500060002;
menuItem.szName.w:=MenuHandles[miSysEmpty].Name;
menuItem.pszService := MS_HPP_EMPTYHISTORY;
diff --git a/plugins/ImportTXT/importtxt.dpr b/plugins/ImportTXT/importtxt.dpr
index bc21128b53..c27c1824fa 100644
--- a/plugins/ImportTXT/importtxt.dpr
+++ b/plugins/ImportTXT/importtxt.dpr
@@ -117,6 +117,7 @@ var
mi:TMO_MenuItem;
begin
cp := Langpack_GetDefaultCodePage;
+ SET_UID(@menuItem, '5FC2C67E-A16B-47B7-A6A1-40BE922CCD93');
SrvITxt := CreateServiceFunction(IMPORT_TXT_SERVICE, @ContactMenuCommand);
SrvIWiz := CreateServiceFunction(IMPORT_WIZ_SERVICE, @MainMenuCommand);
FillChar(mi, sizeof(mi), 0);
@@ -126,6 +127,7 @@ begin
mi.pszService := IMPORT_TXT_SERVICE;
Menu_AddContacTMenuItem(@mi);
+ SET_UID(@mi, '0610209E-5BE0-4D57-AAE8-E1CCF1FB78B8');
mi.position := 500050010;
mi.pszService := IMPORT_WIZ_SERVICE;
Menu_AddMainMenuItem(@mi);
diff --git a/plugins/QuickSearch/sr_global.pas b/plugins/QuickSearch/sr_global.pas
index 74c0a5e6ef..b827aba32b 100644
--- a/plugins/QuickSearch/sr_global.pas
+++ b/plugins/QuickSearch/sr_global.pas
@@ -242,6 +242,7 @@ begin
if MainMenuItem<>0 then exit;
ZeroMemory(@mi,sizeof(mi));
+ SET_UID(@mi, '98C2A92A-D93D-43E8-91C3-3BB6BE4344F0');
mi.szName.a :=qs_name;
mi.position :=500050000;
mi.pszService :=QS_SHOWSERVICE;
diff --git a/plugins/QuickSearch/sr_window.pas b/plugins/QuickSearch/sr_window.pas
index 6a6494a6dc..84bc9a7d10 100644
--- a/plugins/QuickSearch/sr_window.pas
+++ b/plugins/QuickSearch/sr_window.pas
@@ -812,6 +812,7 @@ begin
FillChar(mi,SizeOf(mi),0);
if mnuhandle=0 then
begin
+ SET_UID(@mi, 'D384A798-5D4C-48B4-B3E2-30046ED6F481');
mi.flags :=CMIF_UNICODE;
mi.szName.w :='Change setting through QS';
mi.pszService:='QS/dummy';
diff --git a/plugins/Watrack/i_gui.inc b/plugins/Watrack/i_gui.inc
index 3e41d6e6e9..c5fb65b270 100644
--- a/plugins/Watrack/i_gui.inc
+++ b/plugins/Watrack/i_gui.inc
@@ -30,6 +30,7 @@ var
mi:TMO_MenuItem;
begin
FillChar(mi, sizeof(mi), 0);
+ 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';
diff --git a/plugins/Watrack/lastfm/lastfm.pas b/plugins/Watrack/lastfm/lastfm.pas
index def0009b08..96e96ac642 100644
--- a/plugins/Watrack/lastfm/lastfm.pas
+++ b/plugins/Watrack/lastfm/lastfm.pas
@@ -181,6 +181,7 @@ begin
DestroyIcon(sid.hDefaultIcon);
FillChar(mi, sizeof(mi), 0);
+ SET_UID(@mi, 'BB4DFDEF-E399-4EA2-8F33-488160F083E2');
mi.root :=Menu_CreateRoot(MO_MAIN, 'Watrack', 500050000, 0, 0);
mi.hIcon :=IcoLib_GetIcon(IcoLastFM,0);
mi.szName.a :='Disable scrobbling';
diff --git a/plugins/Watrack/myshows/myshows.pas b/plugins/Watrack/myshows/myshows.pas
index 28f8398cd3..fa64138d7b 100644
--- a/plugins/Watrack/myshows/myshows.pas
+++ b/plugins/Watrack/myshows/myshows.pas
@@ -212,6 +212,7 @@ begin
DestroyIcon(sid.hDefaultIcon);
FillChar(mi, sizeof(mi), 0);
+ SET_UID(@mi, '201D5C0E-E7BA-4DAA-B80D-C9691CA296F5');
mi.root :=Menu_CreateRoot(MO_MAIN, 'Watrack', 500050000, 0, 0);
mi.hIcon :=IcoLib_GetIcon(IcoMyShows,0);
mi.szName.a :='Disable scrobbling';
diff --git a/plugins/Watrack/popup/popups.pas b/plugins/Watrack/popup/popups.pas
index 4e1b041682..ec01503bc4 100644
--- a/plugins/Watrack/popup/popups.pas
+++ b/plugins/Watrack/popup/popups.pas
@@ -472,6 +472,7 @@ begin
HookEvent(ME_SKIN2_ICONSCHANGED,@IconChanged);
FillChar(mi,SizeOf(mi),0);
+ SET_UID(@mi, '225458FC-C423-4B20-A798-2DB423506F80');
mi.root :=Menu_CreateRoot(MO_MAIN, 'Watrack', MenuInfoPos, 0, 0);
mi.hIcon :=IcoLib_GetIcon(IcoBtnInfo,0);
mi.szName.a :='Music Info';
diff --git a/plugins/Watrack/proto/proto.pas b/plugins/Watrack/proto/proto.pas
index d7f8d2b31f..568302575f 100644
--- a/plugins/Watrack/proto/proto.pas
+++ b/plugins/Watrack/proto/proto.pas
@@ -354,6 +354,7 @@ begin
RegisterIcons;
FillChar(mi, sizeof(mi), 0);
+ 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);
diff --git a/plugins/Watrack/stat/statlog.pas b/plugins/Watrack/stat/statlog.pas
index ffa1626ac0..7fee4c5ef9 100644
--- a/plugins/Watrack/stat/statlog.pas
+++ b/plugins/Watrack/stat/statlog.pas
@@ -582,6 +582,7 @@ begin
DestroyIcon(sid.hDefaultIcon);
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';
diff --git a/plugins/mRadio/i_tray.inc b/plugins/mRadio/i_tray.inc
index 58e894e2bf..ff8b76a585 100644
--- a/plugins/mRadio/i_tray.inc
+++ b/plugins/mRadio/i_tray.inc
@@ -132,6 +132,7 @@ var
ico:pAnsiChar;
begin
FillChar(mi, sizeof(mi), 0);
+ SET_UID(@mi, 'CF40B5D0-B21E-4B10-B943-F35FDD343B97');
mi.flags :=CMIF_UNICODE;
mi.szName.w:=cPluginName;
mi.hIcon :=IcoLib_GetIcon(IcoBtnSettings,0);
@@ -139,6 +140,7 @@ begin
FillChar(mi, sizeof(mi), 0);
mi.root:=trayradioparent;
+ SET_UID(@mi, '7375ED25-F6C5-41F3-8EC2-55162E85E59D');
if PluginStatus=ID_STATUS_ONLINE then
begin
@@ -170,6 +172,7 @@ begin
mi.position :=1;
traymute:=Menu_AddTrayMenuItem(@mi);
+ SET_UID(@mi, '00041DD6-72DF-4F05-810F-C09CBA092C17');
mi.hIcon:=0;
mi.flags:=CMIF_UNICODE;
if CallService(MS_RADIO_COMMAND,MRC_STATUS,RD_STATUS_GET)<>RD_STATUS_PLAYING then
@@ -186,18 +189,21 @@ begin
mi.pszService:='mRadio/TrayPlayPause';
trayplay:=Menu_AddTrayMenuItem(@mi);
+ SET_UID(@mi, '9AD92E78-38FA-4855-9B50-F96C590D54DA');
mi.szName.w :='Stop';
mi.position :=3;
srvtraystop:=CreateServiceFunction('mRadio/TrayStop',@TrayStop);
mi.pszService:='mRadio/TrayStop';
Menu_AddTrayMenuItem(@mi);
+ SET_UID(@mi, 'AC6A4BFA-7A47-4B56-A914-9CBD137E64BC');
mi.szName.w :='Quick Open';
mi.position :=4;
mi.pszService:=MS_RADIO_QUICKOPEN;
mi.hIcon :=IcoLib_GetIcon(IcoBtnOpen,0);
Menu_AddTrayMenuItem(@mi);
+ SET_UID(@mi, '4F9ED4D1-5264-4194-934A-21E2DC5116CA');
mi.hIcon :=0;
mi.szName.w :='Play Station';
mi.position :=1000;
diff --git a/plugins/mRadio/i_visual.inc b/plugins/mRadio/i_visual.inc
index 768412d7ef..2f95f0daa2 100644
--- a/plugins/mRadio/i_visual.inc
+++ b/plugins/mRadio/i_visual.inc
@@ -33,10 +33,12 @@ var
mi:TMO_MenuItem;
begin
FillChar(mi, sizeof(mi), 0);
+ SET_UID(@mi, 'DA1F1DA5-0C78-4FD5-B705-5F2C22EBDAD4');
mi.pszService:=MS_RADIO_RECORD;
mi.szName.a :='Start/Stop Record';
hCMenuItemRec:=Menu_AddContactMenuItem(@mi);
+ SET_UID(@mi, '03C42002-709A-48CA-A9AF-450BEBDBE3E0');
mi.hIcon :=IcoLib_GetIcon(IcoBtnOn,0);
mi.pszService :=MS_RADIO_PLAYSTOP;
mi.szName.a :='Start/Stop broadcasting';