mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-11 23:51:06 +00:00
libsysprof-ui: hide logs view when no logs are present
This commit is contained in:
@ -486,6 +486,9 @@ sysprof_capture_view_scan_finish (SysprofCaptureView *self,
|
|||||||
if (!priv->features.has_samples)
|
if (!priv->features.has_samples)
|
||||||
gtk_widget_hide (GTK_WIDGET (priv->callgraph_view));
|
gtk_widget_hide (GTK_WIDGET (priv->callgraph_view));
|
||||||
|
|
||||||
|
if (!priv->features.has_logs)
|
||||||
|
gtk_widget_hide (GTK_WIDGET (priv->logs_view));
|
||||||
|
|
||||||
if (!priv->features.has_marks && !priv->features.has_forks)
|
if (!priv->features.has_marks && !priv->features.has_forks)
|
||||||
gtk_widget_hide (GTK_WIDGET (priv->marks_view));
|
gtk_widget_hide (GTK_WIDGET (priv->marks_view));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user