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