summaryrefslogtreecommitdiff
path: root/plugins/mRadio
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-28 17:41:48 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-28 17:41:48 +0000
commit59cd198e89782263777c57dcd54704ecb1e10212 (patch)
tree9515cc2c31c1254c330e79906bb669279af9b8a5 /plugins/mRadio
parentca2afc50a432cefe892c6877710642bce6bd57c9 (diff)
finally CLISTEVENT removed completely
git-svn-id: http://svn.miranda-ng.org/main/trunk@14430 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/mRadio')
-rw-r--r--plugins/mRadio/i_tray.inc8
-rw-r--r--plugins/mRadio/i_visual.inc2
2 files changed, 5 insertions, 5 deletions
diff --git a/plugins/mRadio/i_tray.inc b/plugins/mRadio/i_tray.inc
index 5312e6b26b..7784e42e1f 100644
--- a/plugins/mRadio/i_tray.inc
+++ b/plugins/mRadio/i_tray.inc
@@ -41,7 +41,7 @@ var
srch:tTrayRadioStation;
pc:pAnsiChar;
buf:array [0..63] of AnsiChar;
- mi:TCListMenuItem;
+ mi:TMO_MenuItem;
begin
trayStations.sortFunc:=@MyStrSort;
@@ -91,7 +91,7 @@ begin
// build menu from sorted list
FillChar(mi,SizeOf(mi),0);
mi.Flags :=CMIF_KEEPUNTRANSLATED or CMIF_UNICODE;
- mi.hParentMenu:=trayparent;
+ mi.root:=trayparent;
pc:=StrCopyE(@buf,'mRadio/Choose');
for i:=0 to trayStations.realCount-1 do
begin
@@ -132,7 +132,7 @@ end;
procedure CreateTrayMenu;
var
- mi:TCListMenuItem;
+ mi:TMO_MenuItem;
playstr:pWideChar;
ico:pAnsiChar;
begin
@@ -146,7 +146,7 @@ begin
trayradioparent:=Menu_AddMainMenuItem(@mi);
FillChar(mi, sizeof(mi), 0);
- mi.hParentMenu:=trayradioparent;
+ mi.root:=trayradioparent;
if PluginStatus=ID_STATUS_ONLINE then
begin
diff --git a/plugins/mRadio/i_visual.inc b/plugins/mRadio/i_visual.inc
index 6495962d9d..768412d7ef 100644
--- a/plugins/mRadio/i_visual.inc
+++ b/plugins/mRadio/i_visual.inc
@@ -30,7 +30,7 @@ end;
procedure CreateMenu;
var
- mi:TCListMenuItem;
+ mi:TMO_MenuItem;
begin
FillChar(mi, sizeof(mi), 0);
mi.pszService:=MS_RADIO_RECORD;