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

@ -207,6 +207,17 @@
<property name="name">callgraph</property>
</packing>
</child>
<child>
<object class="SysprofEmptyStateView">
<property name="icon-name">content-loading-symbolic</property>
<property name="title" translatable="yes">Generating Callgraph</property>
<property name="subtitle" translatable="yes">Sysprof is busy creating the selected callgraph.</property>
<property name="visible">true</property>
</object>
<packing>
<property name="name">loading</property>
</packing>
</child>
<child>
<object class="SysprofEmptyStateView">
<property name="icon-name">computer-fail-symbolic</property>