summaryrefslogtreecommitdiff
path: root/plugins/MirLua/docs
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-06-15 12:45:08 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-06-15 12:45:08 +0000
commit779e5910d73c0b14454bcbce6206f77e139c8df8 (patch)
treed70718a31bbb18e394539dd27977de7f05508f0c /plugins/MirLua/docs
parent69941e28fe11ce3b7958f48e22ea1ecbb8fe64b0 (diff)
MirLua: added tray menu support
git-svn-id: http://svn.miranda-ng.org/main/trunk@14174 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/docs')
-rw-r--r--plugins/MirLua/docs/examples/menus.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/MirLua/docs/examples/menus.lua b/plugins/MirLua/docs/examples/menus.lua
index fd20f92fe1..d1adec03d0 100644
--- a/plugins/MirLua/docs/examples/menus.lua
+++ b/plugins/MirLua/docs/examples/menus.lua
@@ -23,6 +23,11 @@ menuItem.Icon = hIcon
menuItem.Service = "Srv/MMI"
genmenu.AddMainMenuItem(menuItem)
+--- Add menu item to main menu
+menuItem.Name = "Tray menu item"
+menuItem.Service = "Srv/TMI"
+genmenu.AddTrayMenuItem(menuItem)
+
--- Add menu item to contact menu
menuItem.Name = "Contact menu item"
menuItem.Service = "Srv/CMI"