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/rpc_progs.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/rpc_progs.c')
-rw-r--r-- | gtk/rpc_progs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/rpc_progs.c b/gtk/rpc_progs.c index 678baaade0..d63d6c6451 100644 --- a/gtk/rpc_progs.c +++ b/gtk/rpc_progs.c @@ -1,7 +1,7 @@ /* rpc_progs.c * rpc_progs 2002 Ronnie Sahlberg * - * $Id: rpc_progs.c,v 1.10 2003/09/17 19:39:33 guy Exp $ + * $Id: rpc_progs.c,v 1.11 2003/09/19 07:24:38 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -407,6 +407,7 @@ register_tap_listener_gtkrpcprogs(void) void register_tap_menu_gtkrpcprogs(void) { - register_tap_menu_item("Statistics/ONC-RPC/Programs", gtk_rpcprogs_cb); + register_tap_menu_item("Statistics/ONC-RPC/Programs", gtk_rpcprogs_cb, + NULL, NULL); } |