wireshark/ui
Guy Harris fd985194f5 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@alum.mit.edu>
2015-05-20 02:55:33 +00:00
..
cli Add tshark -z "ncp,srt" 2015-05-01 06:04:12 +00:00
gtk Have an add_menu_item() to add items to the menu bar, and use it. 2015-05-20 02:55:33 +00:00
qt Autocomplete saved display filters. 2015-05-19 19:30:05 +00:00
win32 Minor Win32 console fix. 2015-04-16 21:33:39 +00:00
CMakeLists.txt Multicast Stream: Move mcast_stream.[ch] to ui 2015-02-08 22:22:33 +00:00
Makefile.am Support out-of-source checkapi 2014-04-25 04:23:46 +00:00
Makefile.common Multicast Stream: Move mcast_stream.[ch] to ui 2015-02-08 22:22:33 +00:00
Makefile.nmake Add '*.nativecodeanalysis.xml' to 'clean' targets 2015-01-02 01:45:16 +00:00
alert_box.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
alert_box.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
capture.c Reset the captured-packet count when we start or restart a capture. 2015-04-06 21:07:58 +00:00
capture.h Qt: Add a CaptureFile class. 2014-12-20 17:39:29 +00:00
capture_globals.h Move capture_session.h to capchild; what it declares is defined there. 2014-06-30 05:09:31 +00:00
capture_ui_utils.c Have a common routine for constructing strings listing interfaces. 2015-04-05 23:43:01 +00:00
capture_ui_utils.h Have a common routine for constructing strings listing interfaces. 2015-04-05 23:43:01 +00:00
console.c (Trivial) Fix printf-related 'Mismatch on sign' warnings 2015-02-09 18:57:14 +00:00
console.h Move the console log handling code to ui/console.[ch]. 2014-09-26 14:15:45 +00:00
decode_as_utils.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
decode_as_utils.h Always put editor-modelines at the end of the file ... 2014-10-14 20:08:29 +00:00
doxygen.cfg.in Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
export_object.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
export_object.h Adjust some whitespace to match editor modelines. 2014-10-06 03:42:51 +00:00
export_object_dicom.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
export_object_http.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
export_object_smb.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
export_object_tftp.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
file_dialog.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
filters.c Replace tabs by spaces when editor modelines has "expandtab" 2015-02-13 17:34:53 +00:00
filters.h Always put editor-modelines at the end of the file ... 2014-10-14 20:08:29 +00:00
follow.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
follow.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
help_url.c extcap: Implement QT extcap options 2015-05-05 09:35:10 +00:00
help_url.h extcap: Implement QT extcap options 2015-05-05 09:35:10 +00:00
iface_lists.c Let capture_dev_user_pmode_find() say "not found". 2015-04-04 21:03:34 +00:00
iface_lists.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
io_graph_item.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
io_graph_item.h Make FT_{U}INT64 behave more like FT_{U}INT32, add support for FT_{U}INT{40,48,56} 2015-02-21 16:57:52 +00:00
language.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
language.h Qt: Dynamic languages 2014-11-04 08:21:55 +00:00
last_open_dir.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
main_statusbar.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
mcast_stream.c Do all floating-point work in double-precision. 2015-05-16 22:50:15 +00:00
mcast_stream.h Do all floating-point work in double-precision. 2015-05-16 22:50:15 +00:00
packet_list_utils.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
packet_list_utils.h Fix warning when generate documentation (doxygen) 2014-04-14 20:20:38 +00:00
persfilepath_opt.c Don't use <ctype.h> macros, and eliminate an include of <ctype.h>. 2014-10-17 06:41:58 +00:00
persfilepath_opt.h Always put editor-modelines at the end of the file ... 2014-10-14 20:08:29 +00:00
preference_utils.c Qt: Implement "Apply as Column" for packet context 2015-05-15 06:05:01 +00:00
preference_utils.h Qt: Implement "Apply as Column" for packet context 2015-05-15 06:05:01 +00:00
profile.c Remove some apparently-unnecessary includes of emem.h. 2015-01-18 19:47:20 +00:00
profile.h Always put editor-modelines at the end of the file ... 2014-10-14 20:08:29 +00:00
progress_dlg.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
proto_hier_stats.c Qt: Add the Protocol Hierarchy statistics dialog. 2015-02-04 02:06:01 +00:00
proto_hier_stats.h Qt: Add the Protocol Hierarchy statistics dialog. 2015-02-04 02:06:01 +00:00
recent.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
recent.h Adjust some whitespace to match editor modelines. 2014-10-06 03:42:51 +00:00
recent_utils.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
rtp_analysis.h Always put editor-modelines at the end of the file ... 2014-10-14 20:08:29 +00:00
rtp_stream.c Fix RTP crash on RTP analysis attempt 2015-02-07 02:16:06 +00:00
rtp_stream.h Fix RTP crash on RTP analysis attempt 2015-02-07 02:16:06 +00:00
simple_dialog.h Adjust some whitespace to match editor modelines. 2014-10-06 03:42:51 +00:00
software_update.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
software_update.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
ssl_key_export.c Export CLIENT_RANDOM with Export SSL Session Keys 2015-03-12 16:27:10 +00:00
ssl_key_export.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tap-megaco-common.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
tap-megaco-common.h Always put editor-modelines at the end of the file ... 2014-10-14 20:08:29 +00:00
tap-rtp-common.c Fix some indent typo (after g2bf7878e) 2015-02-02 12:37:06 +00:00
tap-rtp-common.h Qt: Add the RTP Streams dialog. 2015-01-30 06:48:32 +00:00
tap-sctp-analysis.c Fix up formatting and indentation a bit. 2015-02-17 03:41:20 +00:00
tap-sctp-analysis.h Always put editor-modelines at the end of the file ... 2014-10-14 20:08:29 +00:00
tap-sequence-analysis.c Replace ep_display_to_address with wmem equivalent display_to_address. 2015-01-05 13:55:04 +00:00
tap-sequence-analysis.h Qt: Initial VoIP Calls dialog. 2014-12-09 21:25:33 +00:00
tap-tcp-stream.c Clean up ftype-conversion and dfilter error message string handling. 2015-01-18 10:22:59 +00:00
tap-tcp-stream.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tap_export_pdu.c Consistently use the "g_string_free returns a C string pointer" idiom. 2015-01-13 23:14:13 +00:00
tap_export_pdu.h Cleanup the "export PDU" common code. 2014-07-15 20:15:59 +00:00
text_import.c Handle "I can't map this for that file format" better. 2014-12-18 00:03:26 +00:00
text_import.h Revert "Refactor Wiretap" 2014-05-09 05:21:01 +00:00
text_import_scanner.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
text_import_scanner.l Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
time_shift.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
time_shift.h Always put editor-modelines at the end of the file ... 2014-10-14 20:08:29 +00:00
traffic_table_ui.c WSUG and image updates. 2015-02-14 19:47:03 +00:00
traffic_table_ui.h Qt: Add the "Map" button to the Endpoints dialog. 2014-09-17 20:04:28 +00:00
ui_util.h Qt: Automatically scroll the packet list. 2015-02-27 20:27:14 +00:00
utf8_entities.h Qt: Add the Protocol Hierarchy statistics dialog. 2015-02-04 02:06:01 +00:00
util.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
util.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
voip_calls.c [VoIP] There has to be two separate routines for MEGACO and H248 as 2015-05-13 11:31:31 +00:00
voip_calls.h Replace tabs by spaces when editor modelines has "expandtab" 2015-02-13 17:34:53 +00:00