diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-06-10 13:43:07 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-06-10 13:43:07 +0000 |
commit | 22ecdc28ebf053a6b335b802949f4f774af97d26 (patch) | |
tree | 980abced379dcc5a3c0021eac4ccdd20358387bc /plugins/MirLua/docs | |
parent | 61eb66b5f8be46f1e5fe148aefb0364e3ceb9d59 (diff) |
MirLua:
- removed unwanted paths to script searching
- fixed crash on event hook/service call
- code cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@14103 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/docs')
-rw-r--r-- | plugins/MirLua/docs/examples/menus.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/MirLua/docs/examples/menus.lua b/plugins/MirLua/docs/examples/menus.lua index f3e279efad..b2a3f222d2 100644 --- a/plugins/MirLua/docs/examples/menus.lua +++ b/plugins/MirLua/docs/examples/menus.lua @@ -1,5 +1,6 @@ --- include m_menus module require('m_menus') +require('m_icons') --- Add icon for menu items local hIcon = M.Icons.AddIcon('testMenuIcon', 'Lua icon for menus') @@ -28,4 +29,4 @@ local hMenuItem = M.Menus.AddContactMenuItem('testRemove', 0, 0, 0, 'Srv/TestRem --- Remove menu item from parent menu -- @param handle The handle of menu item -- @return 0 on success -M.Menus.RemoveMenuItem(hMenuItem); +M.Menus.RemoveMenuItem(hMenuItem) |