image_page: Use AdwSpinner
Depends on https://gitlab.gnome.org/GNOME/libadwaita/-/merge_requests/1201/ AdwSpinner automatically handles pausing the animation when unmapped. Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/420>
This commit is contained in:
parent
4a1a4d270c
commit
cd68778890
2 changed files with 2 additions and 12 deletions
|
|
@ -47,13 +47,7 @@
|
|||
<property name="hexpand">true</property>
|
||||
<property name="vexpand">true</property>
|
||||
<child>
|
||||
<object class="GtkSpinner" id="spinner">
|
||||
<property name="height-request">24</property>
|
||||
<property name="width-request">24</property>
|
||||
<property name="halign">center</property>
|
||||
<property name="valign">center</property>
|
||||
<property name="spinning">True</property>
|
||||
</object>
|
||||
<object class="AdwSpinner" id="spinner"/>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue