summaryrefslogtreecommitdiff
path: root/plugins/mRadio
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-27 11:09:19 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-27 11:09:19 +0000
commitab4abbb7a60f941acab8f0566c6b619f68f1b489 (patch)
treea67f4d3bde6bb59d3c49195a8c6e9085e01124eb /plugins/mRadio
parent9d65ee38c92c7a0656ddc6c4c26017b7226fc44b (diff)
- CLISTMENUITEM::pszContactOwner removed, because it's supported only by contact's menu;
- Menu_AddContactMenuItem now receives parameter szProto; - Menu_Add* helpers are converted into real functions; git-svn-id: http://svn.miranda-ng.org/main/trunk@14409 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/mRadio')
-rw-r--r--plugins/mRadio/i_tray.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/mRadio/i_tray.inc b/plugins/mRadio/i_tray.inc
index 0406bf311f..5312e6b26b 100644
--- a/plugins/mRadio/i_tray.inc
+++ b/plugins/mRadio/i_tray.inc
@@ -90,7 +90,7 @@ begin
// build menu from sorted list
FillChar(mi,SizeOf(mi),0);
- mi.Flags :=CMIF_KEEPUNTRANSLATED or CMIF_UNICODE or CMIF_ROOTHANDLE;
+ mi.Flags :=CMIF_KEEPUNTRANSLATED or CMIF_UNICODE;
mi.hParentMenu:=trayparent;
pc:=StrCopyE(@buf,'mRadio/Choose');
for i:=0 to trayStations.realCount-1 do
@@ -156,7 +156,7 @@ begin
begin
mi.szName.w :='mRadio on';
end;
- mi.flags:=CMIF_UNICODE or CMIF_ROOTHANDLE;
+ mi.flags:=CMIF_UNICODE;
mi.position :=0;
srvtraystop:=CreateServiceFunction('mRadio/TrayProto',@TrayProto);
mi.pszService:='mRadio/TrayProto';
@@ -167,12 +167,12 @@ begin
if gVolume<0 then
begin
- mi.flags:=CMIF_UNICODE or CMIF_ROOTHANDLE or CMIF_CHECKED;
+ mi.flags:=CMIF_UNICODE or CMIF_CHECKED;
ico:=IcoBtnOff;
end
else
begin
- mi.flags:=CMIF_UNICODE or CMIF_ROOTHANDLE;
+ mi.flags:=CMIF_UNICODE;
ico:=IcoBtnOn;
end;
mi.hIcon :=IcoLib_GetIcon(ico,0);
@@ -185,7 +185,7 @@ begin
traymute:=Menu_AddMainMenuItem(@mi);
mi.hIcon:=0;
- mi.flags:=CMIF_UNICODE or CMIF_ROOTHANDLE;
+ mi.flags:=CMIF_UNICODE;
if CallService(MS_RADIO_COMMAND,MRC_STATUS,RD_STATUS_GET)<>RD_STATUS_PLAYING then
begin
playstr:='Play'