[gnome-software/bilelmoussaoui/no-frame: 7/7] gs-update-dialog: Stop using GtkFrame




commit 74a53a542b48bfd865b13c8ef4a38dd03cfa1951
Author: Phaedrus Leeds <mwleeds protonmail com>
Date:   Sat Apr 10 22:16:27 2021 -0700

    gs-update-dialog: Stop using GtkFrame
    
    Use a libhandy css class instead which is cleaner.

 src/gs-update-dialog.ui | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)
---
diff --git a/src/gs-update-dialog.ui b/src/gs-update-dialog.ui
index 1c89be29e..cbf4102ce 100644
--- a/src/gs-update-dialog.ui
+++ b/src/gs-update-dialog.ui
@@ -273,21 +273,15 @@
                 <property name="vscrollbar_policy">automatic</property>
                 <property name="shadow_type">none</property>
                 <child>
-                  <object class="GtkFrame" id="frame_installed_updates">
+                  <object class="GsUpdateList" id="list_box_installed_updates">
                     <property name="visible">True</property>
-                    <property name="shadow_type">none</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="view"/>
+                      <class name="content" />
                     </style>
-                    <child>
-                      <object class="GsUpdateList" id="list_box_installed_updates">
-                        <property name="visible">True</property>
-                        <property name="can_focus">True</property>
-                        <property name="selection_mode">none</property>
-                      </object>
-                    </child>
                   </object>
                 </child>
               </object>


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