aboutsummaryrefslogtreecommitdiffstats
path: root/epan/stats_tree_priv.h
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2009-02-10 03:54:55 +0000
committerUlf Lamping <ulf.lamping@web.de>2009-02-10 03:54:55 +0000
commitf904f42f9da356bcc70377046c7f6617e5bcba4b (patch)
tree3b043a447bd4dd271a3877bdbcd0773a3cde939c /epan/stats_tree_priv.h
parentba78d5f30e5a6f3873fcec88fc95ae3ce320a76a (diff)
Remove an ugly hack:
There was an ugly hack while creating the menu, that tried to detect the stat_group a stats_tree belongs to by looking at the name string. That makes it unnecessarily hard to understand how the menu is really created. Fix: Add a new function stats_tree_register_with_group() that takes the stat_group as a parameter. Use this function where a stats_tree doesn't fit into the default "unsorted" group. svn path=/trunk/; revision=27407
Diffstat (limited to 'epan/stats_tree_priv.h')
-rw-r--r--epan/stats_tree_priv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/stats_tree_priv.h b/epan/stats_tree_priv.h
index 304746b322..7bfd9015bf 100644
--- a/epan/stats_tree_priv.h
+++ b/epan/stats_tree_priv.h
@@ -110,6 +110,7 @@ struct _stats_tree_cfg {
gchar* abbr;
gchar* name;
gchar* tapname;
+ register_stat_group_t stat_group;
gboolean in_use;