aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/wsp_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/wsp_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/wsp_stat.c')
-rw-r--r--gtk/wsp_stat.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/gtk/wsp_stat.c b/gtk/wsp_stat.c
index b21d1701ab..6f2cef7e92 100644
--- a/gtk/wsp_stat.c
+++ b/gtk/wsp_stat.c
@@ -1,7 +1,7 @@
/* wsp_stat.c
* wsp_stat 2003 Jean-Michel FAYARD
*
- * $Id: wsp_stat.c,v 1.18 2004/02/13 00:53:37 guy Exp $
+ * $Id: wsp_stat.c,v 1.19 2004/02/22 18:44:03 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -507,11 +507,7 @@ void
register_tap_listener_gtkwspstat(void)
{
register_ethereal_tap("wsp,stat,", gtk_wspstat_init);
-}
-void
-register_tap_menu_gtkwspstat(void)
-{
- register_tap_menu_item("_Statistics/Watch protocol/WAP-WSP...",
+ register_tap_menu_item("WAP-WSP (Watch Protocol...)", REGISTER_TAP_LAYER_APPLICATION,
gtk_wspstat_cb, NULL, NULL, NULL);
}