URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=fd985194f590225d4a41a8291cf9afae12f1b013
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
fd98519 by Guy Harris (guy@xxxxxxxxxxxx):
Have an add_menu_item() to add items to the menu bar, and use it.
Have it contain all the code to add an item to the menu bar; we may be
able to get rid of the "construct the XML"/"have GTK+ parse the UI" code
in favor of code that directly does the actions to add the item to the
menu without the intermediate XML.
Use it for both the items registered with register_menu_bar_menu_items()
and for the items registered with the new external menu mechanism.
Change-Id: Ibcac03173580bb83ae46cde1d1435f71767d8355
Reviewed-on: https://code.wireshark.org/review/8544
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from 2b68570 DVB-CI: remove some more proto_tree_add_text() calls
adds fd98519 Have an add_menu_item() to add items to the menu bar, and use it.
Summary of changes:
ui/gtk/main_menubar.c | 323 ++++++++++++++++++++++---------------------------
1 file changed, 143 insertions(+), 180 deletions(-)