[gnome-software: 4/13] update-dialog: Use HdyPreferencesPage for the installed updates




commit bdba86f5e170fa1b282b684338205d36bcf23953
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Tue Aug 3 14:08:54 2021 +0200

    update-dialog: Use HdyPreferencesPage for the installed updates
    
    This gives it the same adaptive sizes and margins we use everywhere else
    in GNOME.

 src/gs-update-dialog.ui | 25 +++++++++++--------------
 1 file changed, 11 insertions(+), 14 deletions(-)
---
diff --git a/src/gs-update-dialog.ui b/src/gs-update-dialog.ui
index d69f3e512..83562c7c3 100644
--- a/src/gs-update-dialog.ui
+++ b/src/gs-update-dialog.ui
@@ -246,23 +246,20 @@
               </packing>
             </child>
             <child>
-              <object class="GtkScrolledWindow" id="scrolledwindow_installed_updates">
+              <object class="HdyPreferencesPage">
                 <property name="visible">True</property>
-                <property name="can_focus">True</property>
-                <property name="vexpand">True</property>
-                <property name="hscrollbar_policy">never</property>
-                <property name="vscrollbar_policy">automatic</property>
-                <property name="shadow_type">none</property>
                 <child>
-                  <object class="GsUpdateList" id="list_box_installed_updates">
+                  <object class="HdyPreferencesGroup">
                     <property name="visible">True</property>
-                    <property name="can_focus">True</property>
-                    <property name="selection_mode">none</property>
-                    <property name="halign">fill</property>
-                    <property name="valign">start</property>
-                    <style>
-                      <class name="content" />
-                    </style>
+                    <child>
+                      <object class="GsUpdateList" id="list_box_installed_updates">
+                        <property name="visible">True</property>
+                        <property name="selection_mode">none</property>
+                        <style>
+                          <class name="content" />
+                        </style>
+                      </object>
+                    </child>
                   </object>
                 </child>
               </object>


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