diff options
Diffstat (limited to 'ui/gtk/rpc_stat.c')
-rw-r--r-- | ui/gtk/rpc_stat.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/ui/gtk/rpc_stat.c b/ui/gtk/rpc_stat.c index 81a7b01303..1687c68274 100644 --- a/ui/gtk/rpc_stat.c +++ b/ui/gtk/rpc_stat.c @@ -523,9 +523,19 @@ gtk_rpcstat_cb(GtkAction *action _U_, gpointer user_data _U_) } +static tap_ui rpcstat_ui = { + REGISTER_STAT_GROUP_GENERIC, + NULL, + "rpc,srt,", + gtk_rpcstat_init, + -1, + 0, + NULL +}; + void register_tap_listener_gtkrpcstat(void) { - register_stat_cmd_arg("rpc,srt,", gtk_rpcstat_init, NULL); + register_tap_ui(&rpcstat_ui, NULL); } |