[gnome-software/bilelmoussaoui/no-frame: 1/7] gs-app-version-history-dialog: Stop using GtkFrame




commit 337c5a617ab747193cc42a15da973d759f71f503
Author: Phaedrus Leeds <mwleeds protonmail com>
Date:   Sat Apr 10 21:39:49 2021 -0700

    gs-app-version-history-dialog: Stop using GtkFrame
    
    Use a libhandy css class instead which is cleaner.
    
    Thanks to Bilal Elmoussaoui for the first implementation of this set of
    patches.

 src/gs-app-version-history-dialog.ui | 24 +++++++++---------------
 1 file changed, 9 insertions(+), 15 deletions(-)
---
diff --git a/src/gs-app-version-history-dialog.ui b/src/gs-app-version-history-dialog.ui
index 062b4d6f5..ede850ad2 100644
--- a/src/gs-app-version-history-dialog.ui
+++ b/src/gs-app-version-history-dialog.ui
@@ -25,23 +25,17 @@
                 <property name="visible">True</property>
                 <property name="vexpand">True</property>
                 <property name="hexpand">False</property>
+                <property name="margin-start">12</property>
+                <property name="margin-end">12</property>
+                <property name="margin-bottom">18</property>
+                <property name="margin-top">18</property>
                 <child>
-                  <object class="GtkFrame">
+                  <object class="GtkListBox" id="listbox">
                     <property name="visible">True</property>
-                    <property name="shadow_type">none</property>
-                    <property name="margin-start">12</property>
-                    <property name="margin-end">12</property>
-                    <property name="margin-bottom">18</property>
-                    <property name="margin-top">18</property>
-                    <child>
-                      <object class="GtkListBox" id="listbox">
-                        <property name="visible">True</property>
-                        <property name="selection-mode">none</property>
-                        <style>
-                          <class name="content"/>
-                        </style>
-                      </object>
-                    </child>
+                    <property name="selection-mode">none</property>
+                    <style>
+                      <class name="content"/>
+                    </style>
                   </object>
                 </child>
               </object>


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