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/mgcp_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/mgcp_stat.c')
-rw-r--r-- | gtk/mgcp_stat.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/mgcp_stat.c b/gtk/mgcp_stat.c index e3fd437d60..02dc874001 100644 --- a/gtk/mgcp_stat.c +++ b/gtk/mgcp_stat.c @@ -2,7 +2,7 @@ * mgcp-statistics for ethereal * Copyright 2003 Lars Roland * - * $Id: mgcp_stat.c,v 1.13 2003/09/17 19:39:33 guy Exp $ + * $Id: mgcp_stat.c,v 1.14 2003/09/19 07:24:38 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -394,6 +394,7 @@ void register_tap_menu_gtkmgcpstat(void) { if (find_tap_id("mgcp")) - register_tap_menu_item("Statistics/Service Response Time/MGCP", gtk_mgcpstat_cb); + register_tap_menu_item("Statistics/Service Response Time/MGCP", + gtk_mgcpstat_cb, NULL, NULL); } |