aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/hostlist_fddi.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-02-22 18:47:04 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-02-22 18:47:04 +0000
commitcdebea69ce9b3b10abcd155b8b2848a259341f26 (patch)
treec7e7f96441b0283c58a72b746e23d39c78f7e6a8 /gtk/hostlist_fddi.c
parent26a84495c8663a9ae55b2c84a8c716edb211b0f6 (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. svn path=/trunk/; revision=10180
Diffstat (limited to 'gtk/hostlist_fddi.c')
-rw-r--r--gtk/hostlist_fddi.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/gtk/hostlist_fddi.c b/gtk/hostlist_fddi.c
index 419f828a00..463d57421b 100644
--- a/gtk/hostlist_fddi.c
+++ b/gtk/hostlist_fddi.c
@@ -1,7 +1,7 @@
/* hostlist_fddi.c 2004 Ian Schorr
* modified from endpoint_talkers_fddi.c 2003 Ronnie Sahlberg
*
- * $Id: hostlist_fddi.c,v 1.1 2004/02/20 09:09:11 guy Exp $
+ * $Id: hostlist_fddi.c,v 1.2 2004/02/22 18:44:01 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -81,18 +81,11 @@ gtk_fddi_hostlist_cb(GtkWidget *w _U_, gpointer d _U_)
void
-register_tap_menu_fddi_hostlist(void)
-{
- register_tap_menu_item("_Statistics/Host List/FDDI",
- gtk_fddi_hostlist_cb, NULL, NULL, NULL);
-}
-
-
-
-
-void
register_tap_listener_fddi_hostlist(void)
{
register_ethereal_tap("conv,fddi", gtk_fddi_hostlist_init);
+
+ register_tap_menu_item("FDDI/Host List", REGISTER_TAP_LAYER_DATA_LINK,
+ gtk_fddi_hostlist_cb, NULL, NULL, NULL);
}