[gnome-software: 11/15] gs-app-context-bar: Fix indentation in UI file




commit 5a04af01cce03c2fed2fa008ef34f968b6631b39
Author: Philip Withnall <pwithnall endlessos org>
Date:   Fri Jul 16 17:30:28 2021 +0100

    gs-app-context-bar: Fix indentation in UI file
    
    This only changes the indentation.
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 src/gs-app-context-bar.ui | 332 +++++++++++++++++++++++-----------------------
 1 file changed, 163 insertions(+), 169 deletions(-)
---
diff --git a/src/gs-app-context-bar.ui b/src/gs-app-context-bar.ui
index 6f72e3ede..3d0878793 100644
--- a/src/gs-app-context-bar.ui
+++ b/src/gs-app-context-bar.ui
@@ -94,74 +94,72 @@
           <class name="context-tile"/>
           <class name="flat"/>
         </style>
-
-    <child>
-      <object class="GtkBox">
-        <property name="orientation">vertical</property>
-        <property name="spacing">8</property>
-        <property name="visible">True</property>
-
         <child>
-          <object class="GtkBox" id="safety_tile_lozenge">
-            <property name="halign">center</property>
+          <object class="GtkBox">
+            <property name="orientation">vertical</property>
+            <property name="spacing">8</property>
             <property name="visible">True</property>
-            <style>
-              <class name="context-tile-lozenge"/>
-              <class name="green"/>
-            </style>
             <child>
-              <object class="GtkImage" id="safety_tile_lozenge_content">
+              <object class="GtkBox" id="safety_tile_lozenge">
                 <property name="halign">center</property>
-                <!-- this is a placeholder: the icon is actually set in code -->
-                <property name="icon-name">safety-symbolic</property>
                 <property name="visible">True</property>
-                <accessibility>
-                  <relation target="safety_tile_title" type="labelled-by"/>
-                  <relation target="safety_tile_description" type="details"/>
-                </accessibility>
+                <style>
+                  <class name="context-tile-lozenge"/>
+                  <class name="green"/>
+                </style>
+                <child>
+                  <object class="GtkImage" id="safety_tile_lozenge_content">
+                    <property name="halign">center</property>
+                    <!-- this is a placeholder: the icon is actually set in code -->
+                    <property name="icon-name">safety-symbolic</property>
+                    <property name="visible">True</property>
+                    <accessibility>
+                      <relation target="safety_tile_title" type="labelled-by"/>
+                      <relation target="safety_tile_description" type="details"/>
+                    </accessibility>
+                  </object>
+                  <packing>
+                    <property name="expand">True</property>
+                  </packing>
+                </child>
               </object>
               <packing>
-                <property name="expand">True</property>
+                <property name="fill">False</property>
               </packing>
             </child>
-          </object>
-          <packing>
-            <property name="fill">False</property>
-          </packing>
-        </child>
-        <child>
-          <object class="GtkLabel" id="safety_tile_title">
-            <!-- this is a placeholder: the text is actually set in code -->
-            <property name="label">Safe</property>
-            <property name="visible">True</property>
-            <property name="xalign">0.5</property>
-            <accessibility>
-              <relation target="safety_tile_lozenge_content" type="label-for"/>
-            </accessibility>
-            <style>
-              <class name="context-tile-title"/>
-            </style>
-          </object>
-        </child>
-        <child>
-          <object class="GtkLabel" id="safety_tile_description">
-            <property name="justify">center</property>
-            <!-- this is a placeholder: the text is actually set in code -->
-            <property name="label">Auditable, no tracking, few permissions</property>
-            <property name="visible">True</property>
-            <property name="wrap">True</property>
-            <property name="xalign">0.5</property>
-            <accessibility>
-              <relation target="safety_tile_lozenge_content" type="details-for"/>
-            </accessibility>
-            <style>
-              <class name="context-tile-description"/>
-            </style>
+            <child>
+              <object class="GtkLabel" id="safety_tile_title">
+                <!-- this is a placeholder: the text is actually set in code -->
+                <property name="label">Safe</property>
+                <property name="visible">True</property>
+                <property name="xalign">0.5</property>
+                <accessibility>
+                  <relation target="safety_tile_lozenge_content" type="label-for"/>
+                </accessibility>
+                <style>
+                  <class name="context-tile-title"/>
+                </style>
+              </object>
+            </child>
+            <child>
+              <object class="GtkLabel" id="safety_tile_description">
+                <property name="justify">center</property>
+                <!-- this is a placeholder: the text is actually set in code -->
+                <property name="label">Auditable, no tracking, few permissions</property>
+                <property name="visible">True</property>
+                <property name="wrap">True</property>
+                <property name="xalign">0.5</property>
+                <accessibility>
+                  <relation target="safety_tile_lozenge_content" type="details-for"/>
+                </accessibility>
+                <style>
+                  <class name="context-tile-description"/>
+                </style>
+              </object>
+            </child>
           </object>
         </child>
       </object>
-    </child>
-      </object>
       <packing>
         <property name="left-attach">1</property>
         <property name="top-attach">0</property>
@@ -176,76 +174,74 @@
           <class name="context-tile"/>
           <class name="flat"/>
         </style>
-
-    <child>
-      <object class="GtkBox">
-        <property name="orientation">vertical</property>
-        <property name="spacing">8</property>
-        <property name="visible">True</property>
-
         <child>
-          <object class="GtkBox" id="hardware_support_tile_lozenge">
-            <property name="halign">center</property>
+          <object class="GtkBox">
+            <property name="orientation">vertical</property>
+            <property name="spacing">8</property>
             <property name="visible">True</property>
-            <style>
-              <class name="context-tile-lozenge"/>
-              <class name="green"/>
-              <class name="wide-image"/>
-            </style>
             <child>
-              <object class="GtkImage" id="hardware_support_tile_lozenge_content">
+              <object class="GtkBox" id="hardware_support_tile_lozenge">
                 <property name="halign">center</property>
-                <!-- this is a placeholder: the icon is actually set in code -->
-                <property name="icon-name">adaptive-symbolic</property>
-                <property name="pixel-size">56</property>
                 <property name="visible">True</property>
-                <accessibility>
-                  <relation target="hardware_support_tile_title" type="labelled-by"/>
-                  <relation target="hardware_support_tile_description" type="details"/>
-                </accessibility>
+                <style>
+                  <class name="context-tile-lozenge"/>
+                  <class name="green"/>
+                  <class name="wide-image"/>
+                </style>
+                <child>
+                  <object class="GtkImage" id="hardware_support_tile_lozenge_content">
+                    <property name="halign">center</property>
+                    <!-- this is a placeholder: the icon is actually set in code -->
+                    <property name="icon-name">adaptive-symbolic</property>
+                    <property name="pixel-size">56</property>
+                    <property name="visible">True</property>
+                    <accessibility>
+                      <relation target="hardware_support_tile_title" type="labelled-by"/>
+                      <relation target="hardware_support_tile_description" type="details"/>
+                    </accessibility>
+                  </object>
+                  <packing>
+                    <property name="expand">True</property>
+                  </packing>
+                </child>
               </object>
               <packing>
-                <property name="expand">True</property>
+                <property name="fill">False</property>
               </packing>
             </child>
-          </object>
-          <packing>
-            <property name="fill">False</property>
-          </packing>
-        </child>
-        <child>
-          <object class="GtkLabel" id="hardware_support_tile_title">
-            <!-- this is a placeholder: the text is actually set in code -->
-            <property name="label">Adaptive</property>
-            <property name="visible">True</property>
-            <property name="xalign">0.5</property>
-            <accessibility>
-              <relation target="hardware_support_tile_lozenge_content" type="label-for"/>
-            </accessibility>
-            <style>
-              <class name="context-tile-title"/>
-            </style>
-          </object>
-        </child>
-        <child>
-          <object class="GtkLabel" id="hardware_support_tile_description">
-            <property name="justify">center</property>
-            <!-- this is a placeholder: the text is actually set in code -->
-            <property name="label">Works on phones, tablets and desktops</property>
-            <property name="visible">True</property>
-            <property name="wrap">True</property>
-            <property name="xalign">0.5</property>
-            <accessibility>
-              <relation target="hardware_support_tile_lozenge_content" type="details-for"/>
-            </accessibility>
-            <style>
-              <class name="context-tile-description"/>
-            </style>
+            <child>
+              <object class="GtkLabel" id="hardware_support_tile_title">
+                <!-- this is a placeholder: the text is actually set in code -->
+                <property name="label">Adaptive</property>
+                <property name="visible">True</property>
+                <property name="xalign">0.5</property>
+                <accessibility>
+                  <relation target="hardware_support_tile_lozenge_content" type="label-for"/>
+                </accessibility>
+                <style>
+                  <class name="context-tile-title"/>
+                </style>
+              </object>
+            </child>
+            <child>
+              <object class="GtkLabel" id="hardware_support_tile_description">
+                <property name="justify">center</property>
+                <!-- this is a placeholder: the text is actually set in code -->
+                <property name="label">Works on phones, tablets and desktops</property>
+                <property name="visible">True</property>
+                <property name="wrap">True</property>
+                <property name="xalign">0.5</property>
+                <accessibility>
+                  <relation target="hardware_support_tile_lozenge_content" type="details-for"/>
+                </accessibility>
+                <style>
+                  <class name="context-tile-description"/>
+                </style>
+              </object>
+            </child>
           </object>
         </child>
       </object>
-    </child>
-      </object>
       <packing>
         <property name="left-attach">2</property>
         <property name="top-attach">0</property>
@@ -260,74 +256,72 @@
           <class name="context-tile"/>
           <class name="flat"/>
         </style>
-
-    <child>
-      <object class="GtkBox">
-        <property name="orientation">vertical</property>
-        <property name="spacing">8</property>
-        <property name="visible">True</property>
-
         <child>
-          <object class="GtkBox" id="age_rating_tile_lozenge">
-            <property name="halign">center</property>
+          <object class="GtkBox">
+            <property name="orientation">vertical</property>
+            <property name="spacing">8</property>
             <property name="visible">True</property>
-            <style>
-              <class name="context-tile-lozenge"/>
-              <class name="details-rating-18"/>
-            </style>
             <child>
-              <object class="GtkLabel" id="age_rating_tile_lozenge_content">
+              <object class="GtkBox" id="age_rating_tile_lozenge">
                 <property name="halign">center</property>
+                <property name="visible">True</property>
+                <style>
+                  <class name="context-tile-lozenge"/>
+                  <class name="details-rating-18"/>
+                </style>
+                <child>
+                  <object class="GtkLabel" id="age_rating_tile_lozenge_content">
+                    <property name="halign">center</property>
+                    <!-- this is a placeholder: the text is actually set in code -->
+                    <property name="label">18+</property>
+                    <property name="visible">True</property>
+                    <property name="xalign">0.5</property>
+                    <accessibility>
+                      <relation target="age_rating_tile_title" type="labelled-by"/>
+                      <relation target="age_rating_tile_description" type="details"/>
+                    </accessibility>
+                  </object>
+                  <packing>
+                    <property name="expand">True</property>
+                  </packing>
+                </child>
+              </object>
+              <packing>
+                <property name="fill">False</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="age_rating_tile_title">
+                <!-- this one’s not a placeholder -->
+                <property name="label" translatable="yes">Age Rating</property>
+                <property name="visible">True</property>
+                <property name="xalign">0.5</property>
+                <accessibility>
+                  <relation target="age_rating_tile_lozenge_content" type="label-for"/>
+                </accessibility>
+                <style>
+                  <class name="context-tile-title"/>
+                </style>
+              </object>
+            </child>
+            <child>
+              <object class="GtkLabel" id="age_rating_tile_description">
+                <property name="justify">center</property>
                 <!-- this is a placeholder: the text is actually set in code -->
-                <property name="label">18+</property>
+                <property name="label">May contain sex, drugs, rock‘n’roll and more</property>
                 <property name="visible">True</property>
+                <property name="wrap">True</property>
                 <property name="xalign">0.5</property>
                 <accessibility>
-                  <relation target="age_rating_tile_title" type="labelled-by"/>
-                  <relation target="age_rating_tile_description" type="details"/>
+                  <relation target="age_rating_tile_lozenge_content" type="details-for"/>
                 </accessibility>
+                <style>
+                  <class name="context-tile-description"/>
+                </style>
               </object>
-              <packing>
-                <property name="expand">True</property>
-              </packing>
             </child>
           </object>
-          <packing>
-            <property name="fill">False</property>
-          </packing>
-        </child>
-        <child>
-          <object class="GtkLabel" id="age_rating_tile_title">
-            <!-- this one’s not a placeholder -->
-            <property name="label" translatable="yes">Age Rating</property>
-            <property name="visible">True</property>
-            <property name="xalign">0.5</property>
-            <accessibility>
-              <relation target="age_rating_tile_lozenge_content" type="label-for"/>
-            </accessibility>
-            <style>
-              <class name="context-tile-title"/>
-            </style>
-          </object>
         </child>
-        <child>
-          <object class="GtkLabel" id="age_rating_tile_description">
-            <property name="justify">center</property>
-            <!-- this is a placeholder: the text is actually set in code -->
-            <property name="label">May contain sex, drugs, rock‘n’roll and more</property>
-            <property name="visible">True</property>
-            <property name="wrap">True</property>
-            <property name="xalign">0.5</property>
-            <accessibility>
-              <relation target="age_rating_tile_lozenge_content" type="details-for"/>
-            </accessibility>
-            <style>
-              <class name="context-tile-description"/>
-            </style>
-          </object>
-        </child>
-      </object>
-    </child>
       </object>
       <packing>
         <property name="left-attach">3</property>


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