aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/ansi_a_stat.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/ansi_a_stat.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/ansi_a_stat.c')
-rw-r--r--gtk/ansi_a_stat.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/gtk/ansi_a_stat.c b/gtk/ansi_a_stat.c
index 51249f0e03..78f5157753 100644
--- a/gtk/ansi_a_stat.c
+++ b/gtk/ansi_a_stat.c
@@ -5,7 +5,7 @@
*
* MUCH code modified from service_response_time_table.c.
*
- * $Id: ansi_a_stat.c,v 1.13 2004/02/11 04:28:47 guy Exp $
+ * $Id: ansi_a_stat.c,v 1.14 2004/02/22 18:44:00 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -534,12 +534,9 @@ register_tap_listener_gtkansi_a_stat(void)
exit(1);
}
-}
-
-void
-register_tap_menu_gtkansi_a_stat(void)
-{
- register_tap_menu_item("_Statistics/ANSI A-Interface/BSMAP", ansi_a_stat_gtk_bsmap_cb, NULL, NULL ,NULL);
- register_tap_menu_item("_Statistics/ANSI A-Interface/DTAP", ansi_a_stat_gtk_dtap_cb, NULL, NULL ,NULL);
+ register_tap_menu_item("ANSI/A-Interface BSMAP", REGISTER_TAP_LAYER_APPLICATION,
+ ansi_a_stat_gtk_bsmap_cb, NULL, NULL ,NULL);
+ register_tap_menu_item("ANSI/A-Interface DTAP", REGISTER_TAP_LAYER_APPLICATION,
+ ansi_a_stat_gtk_dtap_cb, NULL, NULL ,NULL);
}