[gnome-software: 1/2] moderate-page: Use a AdwStatusPage
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 1/2] moderate-page: Use a AdwStatusPage
- Date: Tue, 1 Mar 2022 11:56:09 +0000 (UTC)
commit 33ce1d8a299e295b93d2c544a2dbc774622d8d27
Author: Adrien Plazas <kekun plazas laposte net>
Date: Wed Jan 12 15:35:25 2022 +0100
moderate-page: Use a AdwStatusPage
This makes the code simpler and ensures the page is adaptive.
src/gs-moderate-page.ui | 29 +++--------------------------
1 file changed, 3 insertions(+), 26 deletions(-)
---
diff --git a/src/gs-moderate-page.ui b/src/gs-moderate-page.ui
index 24ae16713..b0e523f17 100644
--- a/src/gs-moderate-page.ui
+++ b/src/gs-moderate-page.ui
@@ -61,34 +61,11 @@
<object class="GtkStackPage">
<property name="name">uptodate</property>
<property name="child">
- <object class="GtkBox" id="updates_uptodate_box">
- <property name="orientation">vertical</property>
- <property name="spacing">48</property>
+ <object class="AdwStatusPage" id="updates_uptodate_box">
<property name="hexpand">True</property>
<property name="vexpand">True</property>
- <style>
- <class name="dim-label"/>
- </style>
- <child type="center">
- <object class="GtkBox" id="updates_uptodate_centerbox">
- <property name="orientation">vertical</property>
- <property name="spacing">12</property>
- <child>
- <object class="GtkImage" id="image_updates">
- <property name="pixel_size">128</property>
- <property name="icon_name">object-select-symbolic</property>
- </object>
- </child>
- <child>
- <object class="GtkLabel" id="label10">
- <property name="label" translatable="yes">There are no reviews to moderate</property>
- <attributes>
- <attribute name="scale" value="1.4"/>
- </attributes>
- </object>
- </child>
- </object>
- </child>
+ <property name="icon_name">object-select-symbolic</property>
+ <property name="title" translatable="yes">There are no reviews to moderate</property>
</object>
</property>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]