summaryrefslogtreecommitdiff
path: root/gtk/endpoint_talkers_fddi.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-09-19 07:24:39 +0000
committerGuy Harris <guy@alum.mit.edu>2003-09-19 07:24:39 +0000
commite8e9f1bdfe5b7bc189e104387d3b075a81ee81d2 (patch)
tree957dddbd7b2e0e8bd9c3349b089ada57a31bba13 /gtk/endpoint_talkers_fddi.c
parentf051c17afbe3ffc628ac72f6c3fd7c42a20e255d (diff)
downloadwireshark-e8e9f1bdfe5b7bc189e104387d3b075a81ee81d2.tar.gz
Provide a mechanism by which a tap can arrange to have its menu enabled
or disabled based on a currently-selected packet (or lack of same) or a currently-selected protocol tree item (or lack of same). Not currently used, but necessary if we ever make the TCP graph stuff a tap. API is tentative and subject to change. Also, enable and disable taps based on whether we have any packets to process. svn path=/trunk/; revision=8498
Diffstat (limited to 'gtk/endpoint_talkers_fddi.c')
-rw-r--r--gtk/endpoint_talkers_fddi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/endpoint_talkers_fddi.c b/gtk/endpoint_talkers_fddi.c
index e02ca96d10..73fa81600a 100644
--- a/gtk/endpoint_talkers_fddi.c
+++ b/gtk/endpoint_talkers_fddi.c
@@ -1,7 +1,7 @@
/* endpoint_talkers_fddi.c
* endpoint_talkers_fddi 2003 Ronnie Sahlberg
*
- * $Id: endpoint_talkers_fddi.c,v 1.11 2003/09/17 19:39:32 guy Exp $
+ * $Id: endpoint_talkers_fddi.c,v 1.12 2003/09/19 07:24:37 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -81,7 +81,8 @@ gtk_fddi_endpoints_cb(GtkWidget *w _U_, gpointer d _U_)
void
register_tap_menu_fddi_talkers(void)
{
- register_tap_menu_item("Statistics/Conversation List/FDDI", gtk_fddi_endpoints_cb);
+ register_tap_menu_item("Statistics/Conversation List/FDDI",
+ gtk_fddi_endpoints_cb, NULL, NULL);
}