mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-10 23:20:54 +00:00
sysprof: show spinner when document is processing
If the document is doing asynchronous work after it has been loaded (which we use a progressbar to denote), then show a spinner for the activity. Fixes #94
This commit is contained in:
@ -83,12 +83,34 @@
|
|||||||
<child type="top">
|
<child type="top">
|
||||||
<object class="AdwHeaderBar">
|
<object class="AdwHeaderBar">
|
||||||
<property name="title-widget">
|
<property name="title-widget">
|
||||||
<object class="AdwWindowTitle" id="stack_title">
|
<object class="GtkCenterBox">
|
||||||
<binding name="title">
|
<child type="start">
|
||||||
<lookup name="title" type="SysprofDocument">
|
<object class="GtkSpinner">
|
||||||
<lookup name="document">SysprofWindow</lookup>
|
<binding name="visible">
|
||||||
</lookup>
|
<lookup name="busy" type="SysprofDocument">
|
||||||
</binding>
|
<lookup name="document" type="SysprofSession">
|
||||||
|
<lookup name="session">SysprofWindow</lookup>
|
||||||
|
</lookup>
|
||||||
|
</lookup>
|
||||||
|
</binding>
|
||||||
|
<binding name="spinning">
|
||||||
|
<lookup name="busy" type="SysprofDocument">
|
||||||
|
<lookup name="document" type="SysprofSession">
|
||||||
|
<lookup name="session">SysprofWindow</lookup>
|
||||||
|
</lookup>
|
||||||
|
</lookup>
|
||||||
|
</binding>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child type="center">
|
||||||
|
<object class="AdwWindowTitle" id="stack_title">
|
||||||
|
<binding name="title">
|
||||||
|
<lookup name="title" type="SysprofDocument">
|
||||||
|
<lookup name="document">SysprofWindow</lookup>
|
||||||
|
</lookup>
|
||||||
|
</binding>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</property>
|
</property>
|
||||||
<child type="start">
|
<child type="start">
|
||||||
|
|||||||
Reference in New Issue
Block a user