mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +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">
|
||||
<object class="AdwHeaderBar">
|
||||
<property name="title-widget">
|
||||
<object class="AdwWindowTitle" id="stack_title">
|
||||
<binding name="title">
|
||||
<lookup name="title" type="SysprofDocument">
|
||||
<lookup name="document">SysprofWindow</lookup>
|
||||
</lookup>
|
||||
</binding>
|
||||
<object class="GtkCenterBox">
|
||||
<child type="start">
|
||||
<object class="GtkSpinner">
|
||||
<binding name="visible">
|
||||
<lookup name="busy" type="SysprofDocument">
|
||||
<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>
|
||||
</property>
|
||||
<child type="start">
|
||||
|
||||
Reference in New Issue
Block a user