summaryrefslogtreecommitdiff
path: root/plugins/mRadio/i_tray.inc
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mRadio/i_tray.inc')
-rw-r--r--plugins/mRadio/i_tray.inc7
1 files changed, 1 insertions, 6 deletions
diff --git a/plugins/mRadio/i_tray.inc b/plugins/mRadio/i_tray.inc
index 7784e42e1f..52967dffaa 100644
--- a/plugins/mRadio/i_tray.inc
+++ b/plugins/mRadio/i_tray.inc
@@ -254,14 +254,9 @@ end;
procedure CreateMIMTrayMenu;
begin
- doTray:=ServiceExists(MS_CLIST_ADDTRAYMENUITEM)<>0;
-
CreateTrayMenu();
MakeStationsMenu();
- if doTray then
- HookEvent(ME_CLIST_PREBUILDTRAYMENU,@TrayPrebuild)
- else
- HookEvent(ME_CLIST_PREBUILDMAINMENU,@TrayPrebuild)
+ HookEvent(ME_CLIST_PREBUILDTRAYMENU,@TrayPrebuild)
end;
procedure RemoveTrayItems;