diff options
Diffstat (limited to 'src/gs-moderate-page.ui')
-rw-r--r-- | src/gs-moderate-page.ui | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/src/gs-moderate-page.ui b/src/gs-moderate-page.ui new file mode 100644 index 0000000..0f8bd22 --- /dev/null +++ b/src/gs-moderate-page.ui @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <requires lib="gtk+" version="3.10"/> + <template class="GsModeratePage" parent="GsPage"> + <accessibility> + <property name="label" translatable="yes">Moderate page</property> + </accessibility> + <child> + <object class="GtkStack" id="stack_install"> + + <child> + <object class="GtkStackPage"> + <property name="name">spinner</property> + <property name="child"> + <object class="GtkSpinner" id="spinner_install"> + <property name="width_request">32</property> + <property name="height_request">32</property> + <property name="halign">center</property> + <property name="valign">center</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <style> + <class name="fade-in"/> + </style> + </object> + </property> + </object> + </child> + + <child> + <object class="GtkStackPage"> + <property name="name">view</property> + <property name="child"> + <object class="GtkBox" id="box_install"> + <property name="orientation">vertical</property> + <child> + <object class="GtkScrolledWindow" id="scrolledwindow_install"> + <property name="can_focus">True</property> + <property name="hscrollbar_policy">never</property> + <property name="vscrollbar_policy">automatic</property> + <property name="vexpand">True</property> + <child> + <object class="AdwClamp"> + <property name="maximum-size">860</property> + <!-- ~⅔ of the maximum size. --> + <property name="tightening-threshold">576</property> + <child> + <object class="GtkListBox" id="list_box_install"> + <property name="can_focus">True</property> + <property name="selection_mode">none</property> + <property name="valign">start</property> + </object> + </child> + </object> + </child> + </object> + </child> + </object> + </property> + </object> + </child> + + <child> + <object class="GtkStackPage"> + <property name="name">uptodate</property> + <property name="child"> + <object class="AdwStatusPage" id="updates_uptodate_box"> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="icon_name">object-select-symbolic</property> + <property name="title" translatable="yes">There are no reviews to moderate</property> + </object> + </property> + </object> + </child> + + </object> + </child> + </template> +</interface> |