[gnome-software/1392-unify-lozenge-styling: 6/13] gs-app-translation-dialog: Use GsLozenge




commit 2fdbfd276cfd3ac4e1916b705d283688e4d23048
Author: Milan Crha <mcrha redhat com>
Date:   Tue May 3 20:45:26 2022 +0200

    gs-app-translation-dialog: Use GsLozenge

 src/gs-app-translation-dialog.ui | 21 +++++++--------------
 1 file changed, 7 insertions(+), 14 deletions(-)
---
diff --git a/src/gs-app-translation-dialog.ui b/src/gs-app-translation-dialog.ui
index 18b608ccf..4b5b41f31 100644
--- a/src/gs-app-translation-dialog.ui
+++ b/src/gs-app-translation-dialog.ui
@@ -27,24 +27,17 @@
                     <property name="spacing">12</property>
 
                     <child>
-                      <object class="GtkBox" id="lozenge">
-                        <property name="halign">center</property>
+                      <object class="GsLozenge" id="lozenge">
+                        <property name="circular">True</property>
+                        <property name="icon-name">flag-outline-thin-symbolic</property>
+                        <property name="pixel-size">24</property>
                         <style>
-                          <class name="context-tile-lozenge"/>
                           <class name="large"/>
                           <class name="blue"/>
                         </style>
-                        <child>
-                          <object class="GtkImage" id="icon">
-                            <property name="halign">center</property>
-                            <property name="hexpand">True</property>
-                            <property name="icon-name">flag-outline-thin-symbolic</property>
-                            <property name="pixel-size">24</property>
-                            <accessibility>
-                              <relation name="labelled-by">title</relation>
-                            </accessibility>
-                          </object>
-                        </child>
+                        <accessibility>
+                          <relation name="labelled-by">title</relation>
+                        </accessibility>
                       </object>
                     </child>
 


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