X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fgui%2Fstatistics%2Fstatistics.c;h=87a3e762f74f22fa2736e0eb4efcf86e0fcf451c;hb=6cec4cd266bde25f87dad0a059fd98c7381eb8c2;hp=bec260f06e267bf1ab7f3629479c41138086046e;hpb=203eb6f75ad579321e4fc8dc308eb0b2d66d86d9;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/gui/statistics/statistics.c b/ltt/branches/poly/lttv/modules/gui/statistics/statistics.c index bec260f0..87a3e762 100644 --- a/ltt/branches/poly/lttv/modules/gui/statistics/statistics.c +++ b/ltt/branches/poly/lttv/modules/gui/statistics/statistics.c @@ -168,9 +168,8 @@ static void request_background_data(StatisticViewerData *svd) * information. Happens when two viewers ask for it before servicing * starts. */ - lttvwindowtraces_background_request_remove(trace, "stats"); - lttvwindowtraces_background_request_queue(trace, - "stats"); + if(!lttvwindowtraces_background_request_find(trace, "stats")) + lttvwindowtraces_background_request_queue(trace, "stats"); lttvwindowtraces_background_notify_queue(svd, trace, ltt_time_infinite, @@ -449,6 +448,7 @@ void show_traceset_stats(StatisticViewerData * statistic_viewer_data) start_time.tv_sec, start_time.tv_nsec); #endif //0 + sprintf(trace_str, g_quark_to_string(ltt_trace_name(tcs->parent.parent.t))); gtk_tree_store_append (store, &iter, NULL); gtk_tree_store_set (store, &iter,NAME_COLUMN,trace_str,-1); path = gtk_tree_model_get_path(GTK_TREE_MODEL(store), &iter);