guy 2003/09/23 21:36:36 CDT
Modified files:
gtk bootp_stat.c dcerpc_stat.c
endpoint_talkers_eth.c
endpoint_talkers_fc.c
endpoint_talkers_fddi.c
endpoint_talkers_ip.c
endpoint_talkers_ipx.c
endpoint_talkers_tcpip.c
endpoint_talkers_tr.c
endpoint_talkers_udpip.c fc_stat.c
http_stat.c io_stat.c main.c menu.c
menu.h mgcp_stat.c rpc_progs.c rpc_stat.c
smb_stat.c wsp_stat.c
Log:
Pass a pointer to a "capture_file" structure to
"set_menus_for_selected_packet()" and
"set_menus_for_selected_tree_row()", and have them decide whether to
enable or disable menu items based on whether that structure indicates
that a packet or field is selected and, if one is, on its properties.
Pass to the "selected packet enabled" routine for a menu item the
"frame_data" and "edt" members of the "capture_file" structure, and pass
to the "selected tree row enabled" routine the "field_info" member of
that structure.
Clear "cf->current_frame" if no packet is selected.
Revision Changes Path
1.4 +3 -2 ethereal/gtk/bootp_stat.c
1.23 +3 -2 ethereal/gtk/dcerpc_stat.c
1.18 +2 -2 ethereal/gtk/endpoint_talkers_eth.c
1.18 +2 -3 ethereal/gtk/endpoint_talkers_fc.c
1.13 +2 -2 ethereal/gtk/endpoint_talkers_fddi.c
1.19 +2 -2 ethereal/gtk/endpoint_talkers_ip.c
1.17 +2 -2 ethereal/gtk/endpoint_talkers_ipx.c
1.20 +2 -2 ethereal/gtk/endpoint_talkers_tcpip.c
1.19 +2 -2 ethereal/gtk/endpoint_talkers_tr.c
1.20 +2 -2 ethereal/gtk/endpoint_talkers_udpip.c
1.11 +3 -2 ethereal/gtk/fc_stat.c
1.5 +3 -2 ethereal/gtk/http_stat.c
1.29 +2 -2 ethereal/gtk/io_stat.c
1.318 +2 -2 ethereal/gtk/main.c
1.100 +61 -72 ethereal/gtk/menu.c
1.11 +12 -11 ethereal/gtk/menu.h
1.16 +3 -2 ethereal/gtk/mgcp_stat.c
1.12 +3 -2 ethereal/gtk/rpc_progs.c
1.22 +3 -2 ethereal/gtk/rpc_stat.c
1.19 +3 -2 ethereal/gtk/smb_stat.c
1.4 +3 -2 ethereal/gtk/wsp_stat.c