diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-05-24 03:10:56 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-05-24 03:10:56 +0000 |
commit | 3598d9e2ac7582715d0af8a32b5ffccefeec98a9 (patch) | |
tree | 9ae7974f944846b2e2ff5444abae9beb983973c3 /ui/gtk/conversations_table.c | |
parent | ba77e3c54d6aaf5617c76ffbcc2f4a6759b702bb (diff) | |
download | wireshark-3598d9e2ac7582715d0af8a32b5ffccefeec98a9.tar.gz |
Have register_param_stat() add menu items, rather than having the menu
items hardcoded into ui/gtk/main_menubar.c
Get rid of more stuff implying that the code for adding menu items is
used only by Lua, as it's also used by register_param_stat().
Add the items to the menu list sorted by the menu item name shown to the
user.
Get rid of some const declarations that are lies.
Use the label given for a menu item as the label in the menu, rather
than parsing it from a token.
svn path=/trunk/; revision=49552
Diffstat (limited to 'ui/gtk/conversations_table.c')
-rw-r--r-- | ui/gtk/conversations_table.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/gtk/conversations_table.c b/ui/gtk/conversations_table.c index 7dd8dbb5a2..6c7c86075e 100644 --- a/ui/gtk/conversations_table.c +++ b/ui/gtk/conversations_table.c @@ -39,6 +39,8 @@ #include "../globals.h" +#include "../stat_menu.h" + #include "ui/simple_dialog.h" #include "ui/utf8_entities.h" |