libsysprof-ui: add callgraph loading dialog

This can lag a bit on big profiles, so add a loading page while we generate
the callgraph in a thread.
This commit is contained in:
Christian Hergert
2019-05-25 00:16:31 -07:00
parent 26bcf94888
commit ded0233553
4 changed files with 40 additions and 0 deletions

View File

@ -50,6 +50,8 @@ void _sysprof_rounded_rectangle (cairo_t
gint y_radius);
gchar *_sysprof_format_duration (gint64 duration);
void _sysprof_callgraph_view_set_failed (SysprofCallgraphView *self);
void _sysprof_callgraph_view_set_loading (SysprofCallgraphView *self,
gboolean loading);
void _sysprof_display_focus_record (SysprofDisplay *self);
void _sysprof_profiler_assistant_focus_record (SysprofProfilerAssistant *self);