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/afp_stat.c | |
parent | ba77e3c54d6aaf5617c76ffbcc2f4a6759b702bb (diff) |
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/afp_stat.c')
-rw-r--r-- | ui/gtk/afp_stat.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ui/gtk/afp_stat.c b/ui/gtk/afp_stat.c index cfec380f5d..56af2e4b11 100644 --- a/ui/gtk/afp_stat.c +++ b/ui/gtk/afp_stat.c @@ -204,9 +204,3 @@ register_tap_listener_gtkafpstat(void) register_param_stat(&afp_stat_dlg, "AFP", REGISTER_STAT_GROUP_RESPONSE_TIME); } - -void afp_srt_stat_cb(GtkAction *action, gpointer user_data _U_) -{ - tap_param_dlg_cb(action, &afp_stat_dlg); -} - |