[gnome-boxes/port-assistant-widgets-to-hdy: 8/10] assistant: Port "no search results" page to HdyStatusPage




commit 60c98ba86066528070574fbc60dedd98ed2dbace
Author: Felipe Borges <felipeborges gnome org>
Date:   Thu Dec 9 14:25:25 2021 +0100

    assistant: Port "no search results" page to HdyStatusPage

 data/ui/assistant/pages/downloads-page.ui | 44 +++++--------------------------
 1 file changed, 6 insertions(+), 38 deletions(-)
---
diff --git a/data/ui/assistant/pages/downloads-page.ui b/data/ui/assistant/pages/downloads-page.ui
index f3dc37a9..6a621926 100644
--- a/data/ui/assistant/pages/downloads-page.ui
+++ b/data/ui/assistant/pages/downloads-page.ui
@@ -61,45 +61,13 @@
     </child>
 
     <child>
-      <object class="GtkBox">
+      <object class="HdyStatusPage">
         <property name="visible">True</property>
-        <property name="orientation">vertical</property>
-        <property name="opacity">0.5</property>
-        <property name="spacing">10</property>
-        <property name="valign">center</property>
-        <style>
-          <class name="dim-label"/>
-        </style>
-
-        <child>
-          <object class="GtkImage">
-            <property name="visible">True</property>
-            <property name="resource">/org/gnome/Boxes/icons/empty-boxes.png</property>
-            <property name="pixel-size">128</property>
-            <property name="halign">center</property>
-            <property name="valign">center</property>
-            <property name="margin">18</property>
-          </object>
-        </child>
-
-        <child>
-          <object class="GtkLabel">
-            <property name="visible">True</property>
-            <property name="label" translatable="yes">No operating systems found</property>
-            <attributes>
-              <attribute name="scale" value="2"/>
-              <attribute name="weight" value="bold"/>
-            </attributes>
-          </object>
-        </child>
-
-        <child>
-          <object class="GtkLabel">
-            <property name="visible">True</property>
-            <property name="label" translatable="yes">Try a different search</property>
-          </object>
-        </child>
-
+        <property name="hexpand">True</property>
+        <property name="vexpand">True</property>
+        <property name="icon-name">empty-boxes</property>
+        <property name="title" translatable="yes">No operating systems found</property>
+        <property name="description" translatable="yes">Try a different search</property>
       </object>
       <packing>
         <property name="name">no-results</property>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]