ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 6405] lua register_menu() is not working

Date: Thu, 13 Oct 2011 18:04:38 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6405

Tony Trinh <tony19@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #7230|                            |review_for_checkin?
               Flag|                            |

--- Comment #2 from Tony Trinh <tony19@xxxxxxxxx> 2011-10-13 21:04:36 EDT ---
Created an attachment (id=7230)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=7230)
Patch to fix/restore Lua menu functionality

The current SVN build 39409 does not support the original Lua menu
functionality from previous releases of Wireshark:

1) Lua menus are ignored in non-Windows OS's (register_menu() is essentially a
no-op).

2) In Windows, all Lua menu items are forced into a flat structure under
"/Tools/LUA", regardless of the requested paths, which can include several
submenus. For example, if Lua requests "/Statistics/Foo/Bar/Item", Wireshark
creates "/Tools/LUA/Item".

The attached patch resolves both issues. Tested in Windows 7 and OSX Lion.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.