aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/rpc_progs.c
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2004-02-22 18:47:04 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2004-02-22 18:47:04 +0000
commitcc1161ce40122db7569eb3b0a4025f3e088720dd (patch)
treec7e7f96441b0283c58a72b746e23d39c78f7e6a8 /gtk/rpc_progs.c
parent6b690049baccdfbc769af2f5dfcce4b8cc45d482 (diff)
Redesigned the menu structure of the former statistics stuff,
now sorted by ISO-layer, than alphabetically (now longer by functionality). Seperated the tap registering from the actual menu making stuff, so the seperate step of registering the tap and the menu is no longer needed. Removed all things related to this double registering. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10180 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/rpc_progs.c')
-rw-r--r--gtk/rpc_progs.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/gtk/rpc_progs.c b/gtk/rpc_progs.c
index cfd117a27b..55b703ce4d 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.19 2004/02/13 00:53:36 guy Exp $
+ * $Id: rpc_progs.c,v 1.20 2004/02/22 18:44:02 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -403,12 +403,7 @@ void
register_tap_listener_gtkrpcprogs(void)
{
register_ethereal_tap("rpc,programs", gtk_rpcprogs_init);
-}
-void
-register_tap_menu_gtkrpcprogs(void)
-{
- register_tap_menu_item("_Statistics/ONC-RPC/Programs", gtk_rpcprogs_cb,
- NULL, NULL, NULL);
+ register_tap_menu_item("ONC-RPC/Programs", REGISTER_TAP_LAYER_APPLICATION,
+ gtk_rpcprogs_cb, NULL, NULL, NULL);
}
-