summaryrefslogtreecommitdiff
path: root/plugins/mRadio/i_tray.inc
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-07-02 20:32:40 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-07-02 20:32:40 +0000
commitcdd0b356b00028e3146e58bb7412af159587bf66 (patch)
tree81bb46eaf9bdeecc5295ec8268092829ec7313d7 /plugins/mRadio/i_tray.inc
parentc2367b41afe38f4e2f78544e1552e4f93302392a (diff)
port of menu changes to pascal headers
git-svn-id: http://svn.miranda-ng.org/main/trunk@14477 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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;