From dc8040ee04ef2819c99d55dc74e9fe56d4ba4d1e Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Mon, 6 Jul 2015 08:03:40 +0000 Subject: 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 --- plugins/MirLua/docs/examples/menus.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'plugins/MirLua/docs/examples/menus.lua') 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) -- cgit v1.2.3