project: Port to GtkStack API changes

This commit is contained in:
Georges Basile Stavracas Neto 2022-07-08 16:57:10 -03:00
parent 6cd201166b
commit 3e1c14bda3
1 changed files with 91 additions and 79 deletions

View File

@ -41,7 +41,11 @@
</child>
<child>
<object class="GtkStack" id="main_stack">
<child>
<object class="GtkStackPage">
<property name="name">controls</property>
<property name="child">
<object class="GtkBox">
<property name="orientation">vertical</property>
<child>
@ -63,12 +67,14 @@
</object>
</child>
</object>
<packing>
<property name="name">controls</property>
</packing>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">unlock</property>
<property name="child">
<object class="AdwStatusPage">
<property name="title" translatable="yes">Permission Required</property>
<property name="description" translatable="yes">Permission is required to view and change user parental controls settings.</property>
@ -81,12 +87,14 @@
</object>
</child>
</object>
<packing>
<property name="name">unlock</property>
</packing>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">no-other-users</property>
<property name="child">
<object class="AdwStatusPage">
<property name="icon-name">system-users-symbolic</property>
<property name="title" translatable="yes">No Standard User Accounts</property>
@ -105,12 +113,14 @@
</object>
</child>
</object>
<packing>
<property name="name">no-other-users</property>
</packing>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">loading</property>
<property name="child">
<object class="GtkBox">
<property name="orientation">vertical</property>
<property name="hexpand">True</property>
@ -124,19 +134,21 @@
</object>
</child>
</object>
<packing>
<property name="name">loading</property>
</packing>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">error</property>
<property name="child">
<object class="AdwStatusPage" id="error_page">
<property name="icon-name">dialog-error-symbolic</property>
</object>
<packing>
<property name="name">error</property>
</packing>
</property>
</object>
</child>
</object>
</child>
</object>