diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-09-19 07:24:39 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-09-19 07:24:39 +0000 |
commit | e8e9f1bdfe5b7bc189e104387d3b075a81ee81d2 (patch) | |
tree | 957dddbd7b2e0e8bd9c3349b089ada57a31bba13 /gtk/fc_stat.c | |
parent | f051c17afbe3ffc628ac72f6c3fd7c42a20e255d (diff) | |
download | wireshark-e8e9f1bdfe5b7bc189e104387d3b075a81ee81d2.tar.gz wireshark-e8e9f1bdfe5b7bc189e104387d3b075a81ee81d2.tar.bz2 wireshark-e8e9f1bdfe5b7bc189e104387d3b075a81ee81d2.zip |
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/fc_stat.c')
-rw-r--r-- | gtk/fc_stat.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/fc_stat.c b/gtk/fc_stat.c index 7067400062..3fa13e158b 100644 --- a/gtk/fc_stat.c +++ b/gtk/fc_stat.c @@ -1,7 +1,7 @@ /* fc_stat.c * fc_stat 2003 Ronnie Sahlberg * - * $Id: fc_stat.c,v 1.9 2003/09/17 19:39:33 guy Exp $ + * $Id: fc_stat.c,v 1.10 2003/09/19 07:24:38 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -267,5 +267,6 @@ register_tap_listener_gtkfcstat(void) void register_tap_menu_gtkfcstat(void) { - register_tap_menu_item("Statistics/Service Response Time/Fibre Channel", gtk_fcstat_cb); + register_tap_menu_item("Statistics/Service Response Time/Fibre Channel", + gtk_fcstat_cb, NULL, NULL); } |