diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-07-06 08:03:40 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-07-06 08:03:40 +0000 |
commit | dc8040ee04ef2819c99d55dc74e9fe56d4ba4d1e (patch) | |
tree | 7ffe8d9e4c6e395855ab43fdc14d739cf9b3e9ec /plugins/MirLua/docs/examples/menus.lua | |
parent | c59e17d57d3e2187c4d6412a128cfa8e09be287d (diff) |
MirLua: !api break
- scripts will be load after ME_SYSTEM_MODULESLOADED event
- removed event functions OnModulesLoaded, OnPreShutdown from m_core
- removed OnMsgToolBarLoaded from m_msg_buttonsbar
- removed OnTopToolBarLoaded from m_toptoolbar
- fixed examples
git-svn-id: http://svn.miranda-ng.org/main/trunk@14495 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/docs/examples/menus.lua')
-rw-r--r-- | plugins/MirLua/docs/examples/menus.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/MirLua/docs/examples/menus.lua b/plugins/MirLua/docs/examples/menus.lua index 52ec8e3173..b3de5e5d64 100644 --- a/plugins/MirLua/docs/examples/menus.lua +++ b/plugins/MirLua/docs/examples/menus.lua @@ -44,12 +44,10 @@ local hMenuItem = clist.AddContactMenuItem(menuItem) genmenu.RemoveMenuItem(hMenuItem) --- Add root menu item -local CMIF_ROOTHANDLE = 384 -local hRoot = clist.AddMainMenuItem({ Name = "Main menu root", Flags = CMIF_ROOTHANDLE }) +local hRoot = clist.AddMainMenuItem({ Name = "Main menu root" }) --- Add child menu item menuItem.Name = "Main menu child wierd" -menuItem.Flags = CMIF_ROOTHANDLE menuItem.Service = 'Srv/SMI' menuItem.Parent = hRoot local hChild = clist.AddMainMenuItem(menuItem) |