aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/endpoint_talkers_fc.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_fc.c
parentf051c17afbe3ffc628ac72f6c3fd7c42a20e255d (diff)
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_fc.c')
-rw-r--r--gtk/endpoint_talkers_fc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/endpoint_talkers_fc.c b/gtk/endpoint_talkers_fc.c
index f103eee51a..3d3559bf84 100644
--- a/gtk/endpoint_talkers_fc.c
+++ b/gtk/endpoint_talkers_fc.c
@@ -1,7 +1,7 @@
/* endpoint_talkers_fc.c
* endpoint_talkers_fc 2003 Ronnie Sahlberg
*
- * $Id: endpoint_talkers_fc.c,v 1.16 2003/09/17 19:39:31 guy Exp $
+ * $Id: endpoint_talkers_fc.c,v 1.17 2003/09/19 07:24:37 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -82,7 +82,8 @@ gtk_fc_endpoints_cb(GtkWidget *w _U_, gpointer d _U_)
void
register_tap_menu_fc_talkers(void)
{
- register_tap_menu_item("Statistics/Conversation List/Fibre Channel", gtk_fc_endpoints_cb);
+ register_tap_menu_item("Statistics/Conversation List/Fibre Channel",
+ gtk_fc_endpoints_cb, NULL, NULL);
}