mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +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)
|
||||
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)
|
||||
gtk_widget_hide (GTK_WIDGET (priv->marks_view));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user