diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-09-24 02:36:35 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-09-24 02:36:35 +0000 |
commit | 4e64afcb25c1a0b3e83bb5f1eaa8452649144314 (patch) | |
tree | ee96c6533894bae683e842a7c328f187e608bf78 /gtk/endpoint_talkers_eth.c | |
parent | dd628e00c742885fc3b212e00942880f81956bf0 (diff) |
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.
svn path=/trunk/; revision=8525
Diffstat (limited to 'gtk/endpoint_talkers_eth.c')
-rw-r--r-- | gtk/endpoint_talkers_eth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/endpoint_talkers_eth.c b/gtk/endpoint_talkers_eth.c index 2bef0e0b35..573fbc9c95 100644 --- a/gtk/endpoint_talkers_eth.c +++ b/gtk/endpoint_talkers_eth.c @@ -1,7 +1,7 @@ /* endpoint_talkers_eth.c * endpoint_talkers_eth 2003 Ronnie Sahlberg * - * $Id: endpoint_talkers_eth.c,v 1.17 2003/09/19 07:24:37 guy Exp $ + * $Id: endpoint_talkers_eth.c,v 1.18 2003/09/24 02:36:34 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -34,8 +34,8 @@ #include <gtk/gtk.h> #include <string.h> -#include "menu.h" #include "epan/packet.h" +#include "menu.h" #include "../tap.h" #include "../register.h" #include "endpoint_talkers_table.h" |