Wireshark mailing list archives

Re: Complete the switch to UIManager driven menubar?


From: Tony Trinh <tony19 () gmail com>
Date: Thu, 13 Oct 2011 21:51:12 -0400

I've fixed the support for Lua menus, as described in
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6405. Please review.

Thanks,
Tony

On Tue, Aug 23, 2011 at 3:03 PM, Anders Broman <a.broman () bredband net>wrote:

Stephen Fisher skrev 2011-08-23 19:58:

On Tue, Aug 23, 2011 at 10:19:26AM +0200, Anders Broman wrote:

 I think all menus work now with MAIN_MENU_USE_UIMANAGER, LUA? When
should we start to rip out the "old" code?

If you feel that it's ready to go, I would say change the default to
build with ui manager unless the user specifies otherwise and give it
some more time to work out any bugs (over a few months?)

It's already the default, I see your point in letting it ripen a bit but I
fear that it may become messy
if we start adding improvements to the UIManager code.
Some ideas which I wouldn't mind getting help on :-)
- Read GUI description from file.
- Move all Conversation Endpoint, and Service response lists into a single
file per list including
 code for the sub menus.
- New callback functionality to build sub menus/menu items  under "place
holders" in the UIdescription
 similar to the recent files list which perhaps could be replaced by GTKs
"recent files".

The LUA menu, perhaps we should have lua_gui.c to handle the LUA menus? I'm
not quite sure how the old stuff worked...

Regards
Anders
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: