[gnome-software: 3/4] Fix the indentation




commit 624202b8b4b1320f3766506faa12bdc1874ca403
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Wed Sep 1 13:12:48 2021 +0200

    Fix the indentation

 src/gs-age-rating-context-dialog.ui       | 126 +++++------
 src/gs-app-translation-dialog.ui          | 164 +++++++-------
 src/gs-hardware-support-context-dialog.ui | 128 +++++------
 src/gs-safety-context-dialog.ui           | 354 +++++++++++++++---------------
 src/gs-storage-context-dialog.ui          | 132 +++++------
 5 files changed, 452 insertions(+), 452 deletions(-)
---
diff --git a/src/gs-age-rating-context-dialog.ui b/src/gs-age-rating-context-dialog.ui
index 97443f274..52a60e7e7 100644
--- a/src/gs-age-rating-context-dialog.ui
+++ b/src/gs-age-rating-context-dialog.ui
@@ -3,105 +3,105 @@
   <requires lib="gtk+" version="3.10"/>
   <template class="GsAgeRatingContextDialog" parent="GsInfoWindow">
     <property name="title" translatable="yes" comments="Translators: This is the title of the dialog which 
contains information about the suitability of an app for different ages.">Age Rating</property>
+    <child>
+      <object class="HdyPreferencesPage">
+        <property name="visible">True</property>
         <child>
-          <object class="HdyPreferencesPage">
+          <object class="HdyPreferencesGroup">
             <property name="visible">True</property>
+
             <child>
-              <object class="HdyPreferencesGroup">
+              <object class="GtkBox">
+                <property name="orientation">vertical</property>
+                <property name="spacing">8</property>
                 <property name="visible">True</property>
 
                 <child>
                   <object class="GtkBox">
+                    <property name="margin">20</property>
                     <property name="orientation">vertical</property>
-                    <property name="spacing">8</property>
+                    <property name="spacing">12</property>
                     <property name="visible">True</property>
 
                     <child>
-                      <object class="GtkBox">
-                        <property name="margin">20</property>
-                        <property name="orientation">vertical</property>
-                        <property name="spacing">12</property>
+                      <object class="GtkBox" id="lozenge">
+                        <property name="halign">center</property>
                         <property name="visible">True</property>
-
+                        <style>
+                          <class name="context-tile-lozenge"/>
+                          <class name="large"/>
+                          <class name="grey"/>
+                        </style>
                         <child>
-                          <object class="GtkBox" id="lozenge">
+                          <object class="GtkLabel" id="age">
                             <property name="halign">center</property>
-                            <property name="visible">True</property>
-                            <style>
-                              <class name="context-tile-lozenge"/>
-                              <class name="large"/>
-                              <class name="grey"/>
-                            </style>
-                            <child>
-                              <object class="GtkLabel" id="age">
-                                <property name="halign">center</property>
-                                <!-- this is a placeholder: the text is actually set in code -->
-                                <property name="label">All</property>
-                                <property name="visible">True</property>
-                                <property name="xalign">0.5</property>
-                                <accessibility>
-                                  <relation target="title" type="labelled-by"/>
-                                </accessibility>
-                              </object>
-                              <packing>
-                                <property name="expand">True</property>
-                              </packing>
-                            </child>
-                          </object>
-                          <packing>
-                            <property name="fill">False</property>
-                          </packing>
-                        </child>
-
-                        <child>
-                          <object class="GtkLabel" id="title">
                             <!-- this is a placeholder: the text is actually set in code -->
-                            <property name="justify">center</property>
-                            <property name="label">Shortwave is appropriate for children</property>
+                            <property name="label">All</property>
                             <property name="visible">True</property>
-                            <property name="wrap">True</property>
                             <property name="xalign">0.5</property>
-                            <style>
-                              <class name="title-1"/>
-                            </style>
                             <accessibility>
-                              <relation target="lozenge" type="label-for"/>
+                              <relation target="title" type="labelled-by"/>
                             </accessibility>
-                            <style>
-                              <class name="context-tile-title"/>
-                            </style>
                           </object>
+                          <packing>
+                            <property name="expand">True</property>
+                          </packing>
                         </child>
                       </object>
+                      <packing>
+                        <property name="fill">False</property>
+                      </packing>
                     </child>
 
                     <child>
-                      <object class="GtkListBox" id="attributes_list">
+                      <object class="GtkLabel" id="title">
+                        <!-- this is a placeholder: the text is actually set in code -->
+                        <property name="justify">center</property>
+                        <property name="label">Shortwave is appropriate for children</property>
                         <property name="visible">True</property>
-                        <property name="selection_mode">none</property>
-                        <property name="halign">fill</property>
-                        <property name="valign">start</property>
+                        <property name="wrap">True</property>
+                        <property name="xalign">0.5</property>
+                        <style>
+                          <class name="title-1"/>
+                        </style>
+                        <accessibility>
+                          <relation target="lozenge" type="label-for"/>
+                        </accessibility>
                         <style>
-                          <class name="content"/>
+                          <class name="context-tile-title"/>
                         </style>
-                        <!-- Rows are added in code -->
-                        <placeholder/>
                       </object>
                     </child>
+                  </object>
+                </child>
 
-                    <child>
-                      <object class="GtkLinkButton">
-                        <property name="label" translatable="yes">How to add missing information</property>
-                        <property name="margin-top">16</property>
-                        <property 
name="uri">https://gitlab.gnome.org/GNOME/gnome-software/-/wikis/software-metadata#age-rating</property>
-                        <property name="visible">True</property>
-                      </object>
-                    </child>
+                <child>
+                  <object class="GtkListBox" id="attributes_list">
+                    <property name="visible">True</property>
+                    <property name="selection_mode">none</property>
+                    <property name="halign">fill</property>
+                    <property name="valign">start</property>
+                    <style>
+                      <class name="content"/>
+                    </style>
+                    <!-- Rows are added in code -->
+                    <placeholder/>
+                  </object>
+                </child>
+
+                <child>
+                  <object class="GtkLinkButton">
+                    <property name="label" translatable="yes">How to add missing information</property>
+                    <property name="margin-top">16</property>
+                    <property 
name="uri">https://gitlab.gnome.org/GNOME/gnome-software/-/wikis/software-metadata#age-rating</property>
+                    <property name="visible">True</property>
                   </object>
                 </child>
               </object>
             </child>
           </object>
         </child>
+      </object>
+    </child>
   </template>
 </interface>
diff --git a/src/gs-app-translation-dialog.ui b/src/gs-app-translation-dialog.ui
index 303e12af5..e8f536798 100644
--- a/src/gs-app-translation-dialog.ui
+++ b/src/gs-app-translation-dialog.ui
@@ -3,122 +3,120 @@
   <requires lib="gtk+" version="3.10"/>
   <template class="GsAppTranslationDialog" parent="GsInfoWindow">
     <property name="title" translatable="yes">Translations</property>
+    <child>
+      <object class="HdyPreferencesPage">
+        <property name="visible">True</property>
         <child>
-          <object class="HdyPreferencesPage">
+          <object class="HdyPreferencesGroup">
             <property name="visible">True</property>
+
             <child>
-              <object class="HdyPreferencesGroup">
+              <object class="GtkBox">
+                <property name="margin-left">3</property>
+                <property name="margin-right">3</property>
+                <property name="orientation">vertical</property>
+                <property name="spacing">8</property>
                 <property name="visible">True</property>
 
                 <child>
                   <object class="GtkBox">
-                    <property name="margin-left">3</property>
-                    <property name="margin-right">3</property>
+                    <property name="margin">20</property>
                     <property name="orientation">vertical</property>
-                    <property name="spacing">8</property>
+                    <property name="spacing">12</property>
                     <property name="visible">True</property>
 
                     <child>
-                      <object class="GtkBox">
-                        <property name="margin">20</property>
-                        <property name="orientation">vertical</property>
-                        <property name="spacing">12</property>
+                      <object class="GtkBox" id="lozenge">
+                        <property name="halign">center</property>
                         <property name="visible">True</property>
-
+                        <style>
+                          <class name="context-tile-lozenge"/>
+                          <class name="large"/>
+                          <class name="blue"/>
+                        </style>
                         <child>
-                          <object class="GtkBox" id="lozenge">
+                          <object class="GtkImage" id="icon">
                             <property name="halign">center</property>
+                            <property name="icon-name">flag-outline-thin-symbolic</property>
+                            <property name="icon-size">3</property><!-- GTK_ICON_SIZE_LARGE_TOOLBAR -->
                             <property name="visible">True</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="icon-name">flag-outline-thin-symbolic</property>
-                                <property name="icon-size">3</property><!-- GTK_ICON_SIZE_LARGE_TOOLBAR -->
-                                <property name="visible">True</property>
-                                <accessibility>
-                                  <relation target="title" type="labelled-by"/>
-                                </accessibility>
-                              </object>
-                              <packing>
-                                <property name="expand">True</property>
-                              </packing>
-                            </child>
-                          </object>
-                          <packing>
-                            <property name="fill">False</property>
-                          </packing>
-                        </child>
-
-                        <child>
-                          <object class="GtkLabel" id="title">
-                            <property name="justify">center</property>
-                            <!-- this is a placeholder: the text is actually set in code -->
-                            <property name="label">Help Translate Shortwave</property>
-                            <property name="visible">True</property>
-                            <property name="wrap">True</property>
-                            <property name="xalign">0.5</property>
-                            <style>
-                              <class name="title-1"/>
-                            </style>
                             <accessibility>
-                              <relation target="lozenge" type="label-for"/>
+                              <relation target="title" type="labelled-by"/>
                             </accessibility>
-                            <style>
-                              <class name="context-tile-title"/>
-                            </style>
                           </object>
+                          <packing>
+                            <property name="expand">True</property>
+                          </packing>
                         </child>
                       </object>
+                      <packing>
+                        <property name="fill">False</property>
+                      </packing>
                     </child>
 
                     <child>
-                      <object class="GtkLabel" id="description">
+                      <object class="GtkLabel" id="title">
                         <property name="justify">center</property>
-                        <!-- This is a placeholder: the actual label is set in code -->
-                        <property name="label">Shortwave is designed, developed, and translated by an 
international community of volunteers.\n\nThis means that while it’s not yet available in your language, you 
can get involved and help translate it yourself.</property>
+                        <!-- this is a placeholder: the text is actually set in code -->
+                        <property name="label">Help Translate Shortwave</property>
                         <property name="visible">True</property>
                         <property name="wrap">True</property>
                         <property name="xalign">0.5</property>
+                        <style>
+                          <class name="title-1"/>
+                        </style>
+                        <accessibility>
+                          <relation target="lozenge" type="label-for"/>
+                        </accessibility>
+                        <style>
+                          <class name="context-tile-title"/>
+                        </style>
                       </object>
                     </child>
+                  </object>
+                </child>
+
+                <child>
+                  <object class="GtkLabel" id="description">
+                    <property name="justify">center</property>
+                    <!-- This is a placeholder: the actual label is set in code -->
+                    <property name="label">Shortwave is designed, developed, and translated by an 
international community of volunteers.\n\nThis means that while it’s not yet available in your language, you 
can get involved and help translate it yourself.</property>
+                    <property name="visible">True</property>
+                    <property name="wrap">True</property>
+                    <property name="xalign">0.5</property>
+                  </object>
+                </child>
 
+                <child>
+                  <object class="GtkButton">
+                    <property name="halign">center</property>
+                    <property name="margin">14</property>
+                    <property name="visible">True</property>
+                    <signal name="clicked" handler="button_clicked_cb"/>
+                    <style>
+                      <class name="suggested-action"/>
+                    </style>
                     <child>
-                      <object class="GtkButton">
-                        <property name="halign">center</property>
-                        <property name="margin">14</property>
+                      <object class="GtkBox">
                         <property name="visible">True</property>
-                        <signal name="clicked" handler="button_clicked_cb"/>
-                        <style>
-                          <class name="suggested-action"/>
-                        </style>
+                        <property name="orientation">horizontal</property>
+                        <property name="spacing">6</property>
+                        <property name="halign">center</property>
+                        <property name="margin-left">12</property>
+                        <property name="margin-right">12</property>
                         <child>
-                          <object class="GtkBox">
+                          <object class="GtkLabel">
                             <property name="visible">True</property>
-                            <property name="orientation">horizontal</property>
-                            <property name="spacing">6</property>
-                            <property name="halign">center</property>
-                            <property name="margin-left">12</property>
-                            <property name="margin-right">12</property>
-                            <child>
-                              <object class="GtkLabel">
-                                <property name="visible">True</property>
-                                <property name="xalign">0</property>
-                                <property name="yalign">0.5</property>
-                                <property name="label" translatable="yes">_Translation Website</property>
-                                <property name="use-underline">True</property>
-                              </object>
-                            </child>
-                            <child>
-                              <object class="GtkImage">
-                                <property name="visible">True</property>
-                                <property name="icon-name">external-link-symbolic</property>
-                              </object>
-                            </child>
+                            <property name="xalign">0</property>
+                            <property name="yalign">0.5</property>
+                            <property name="label" translatable="yes">_Translation Website</property>
+                            <property name="use-underline">True</property>
+                          </object>
+                        </child>
+                        <child>
+                          <object class="GtkImage">
+                            <property name="visible">True</property>
+                            <property name="icon-name">external-link-symbolic</property>
                           </object>
                         </child>
                       </object>
@@ -129,5 +127,7 @@
             </child>
           </object>
         </child>
+      </object>
+    </child>
   </template>
 </interface>
diff --git a/src/gs-hardware-support-context-dialog.ui b/src/gs-hardware-support-context-dialog.ui
index b8084bfb6..cab86c778 100644
--- a/src/gs-hardware-support-context-dialog.ui
+++ b/src/gs-hardware-support-context-dialog.ui
@@ -3,104 +3,104 @@
   <requires lib="gtk+" version="3.10"/>
   <template class="GsHardwareSupportContextDialog" parent="GsInfoWindow">
     <property name="title" translatable="yes" comments="Translators: This is the title of the dialog which 
contains information about the hardware support/requirements of an app">Hardware Support</property>
+    <child>
+      <object class="HdyPreferencesPage">
+        <property name="visible">True</property>
         <child>
-          <object class="HdyPreferencesPage">
+          <object class="HdyPreferencesGroup">
             <property name="visible">True</property>
+
             <child>
-              <object class="HdyPreferencesGroup">
+              <object class="GtkBox">
+                <property name="orientation">vertical</property>
+                <property name="spacing">8</property>
                 <property name="visible">True</property>
 
                 <child>
                   <object class="GtkBox">
+                    <property name="margin">20</property>
                     <property name="orientation">vertical</property>
-                    <property name="spacing">8</property>
+                    <property name="spacing">12</property>
                     <property name="visible">True</property>
 
                     <child>
-                      <object class="GtkBox">
-                        <property name="margin">20</property>
-                        <property name="orientation">vertical</property>
-                        <property name="spacing">12</property>
+                      <object class="GtkBox" id="lozenge">
+                        <property name="halign">center</property>
                         <property name="visible">True</property>
-
+                        <style>
+                          <class name="context-tile-lozenge"/>
+                          <class name="large"/>
+                          <class name="grey"/>
+                        </style>
                         <child>
-                          <object class="GtkBox" id="lozenge">
+                          <object class="GtkImage" id="icon">
                             <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>
-                            <style>
-                              <class name="context-tile-lozenge"/>
-                              <class name="large"/>
-                              <class name="grey"/>
-                            </style>
-                            <child>
-                              <object class="GtkImage" id="icon">
-                                <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="title" type="labelled-by"/>
-                                </accessibility>
-                              </object>
-                              <packing>
-                                <property name="expand">True</property>
-                              </packing>
-                            </child>
-                          </object>
-                          <packing>
-                            <property name="fill">False</property>
-                          </packing>
-                        </child>
-
-                        <child>
-                          <object class="GtkLabel" id="title">
-                            <!-- this is a placeholder: the text is actually set in code -->
-                            <property name="justify">center</property>
-                            <property name="label">Shortwave works on this device</property>
-                            <property name="visible">True</property>
-                            <property name="wrap">True</property>
-                            <property name="xalign">0.5</property>
-                            <style>
-                              <class name="title-1"/>
-                            </style>
                             <accessibility>
-                              <relation target="lozenge" type="label-for"/>
+                              <relation target="title" type="labelled-by"/>
                             </accessibility>
-                            <style>
-                              <class name="context-tile-title"/>
-                            </style>
                           </object>
+                          <packing>
+                            <property name="expand">True</property>
+                          </packing>
                         </child>
                       </object>
+                      <packing>
+                        <property name="fill">False</property>
+                      </packing>
                     </child>
 
                     <child>
-                      <object class="GtkListBox" id="relations_list">
+                      <object class="GtkLabel" id="title">
+                        <!-- this is a placeholder: the text is actually set in code -->
+                        <property name="justify">center</property>
+                        <property name="label">Shortwave works on this device</property>
                         <property name="visible">True</property>
-                        <property name="selection_mode">none</property>
-                        <property name="halign">fill</property>
-                        <property name="valign">start</property>
+                        <property name="wrap">True</property>
+                        <property name="xalign">0.5</property>
+                        <style>
+                          <class name="title-1"/>
+                        </style>
+                        <accessibility>
+                          <relation target="lozenge" type="label-for"/>
+                        </accessibility>
                         <style>
-                          <class name="content"/>
+                          <class name="context-tile-title"/>
                         </style>
-                        <!-- Rows are added in code -->
-                        <placeholder/>
                       </object>
                     </child>
+                  </object>
+                </child>
 
-                    <child>
-                      <object class="GtkLinkButton">
-                        <property name="label" translatable="yes">How to add missing information</property>
-                        <property name="margin-top">16</property>
-                        <property 
name="uri">https://gitlab.gnome.org/GNOME/gnome-software/-/wikis/software-metadata#hardware-support</property>
-                        <property name="visible">True</property>
-                      </object>
-                    </child>
+                <child>
+                  <object class="GtkListBox" id="relations_list">
+                    <property name="visible">True</property>
+                    <property name="selection_mode">none</property>
+                    <property name="halign">fill</property>
+                    <property name="valign">start</property>
+                    <style>
+                      <class name="content"/>
+                    </style>
+                    <!-- Rows are added in code -->
+                    <placeholder/>
+                  </object>
+                </child>
+
+                <child>
+                  <object class="GtkLinkButton">
+                    <property name="label" translatable="yes">How to add missing information</property>
+                    <property name="margin-top">16</property>
+                    <property 
name="uri">https://gitlab.gnome.org/GNOME/gnome-software/-/wikis/software-metadata#hardware-support</property>
+                    <property name="visible">True</property>
                   </object>
                 </child>
               </object>
             </child>
           </object>
         </child>
+      </object>
+    </child>
   </template>
 </interface>
diff --git a/src/gs-safety-context-dialog.ui b/src/gs-safety-context-dialog.ui
index aec2d5c14..ed864950d 100644
--- a/src/gs-safety-context-dialog.ui
+++ b/src/gs-safety-context-dialog.ui
@@ -3,231 +3,229 @@
   <requires lib="gtk+" version="3.10"/>
   <template class="GsSafetyContextDialog" parent="GsInfoWindow">
     <property name="title" translatable="yes" comments="Translators: This is the title of the dialog which 
contains information about the permissions of an app">Safety</property>
+    <child>
+      <object class="HdyPreferencesPage">
+        <property name="visible">True</property>
         <child>
-          <object class="HdyPreferencesPage">
+          <object class="HdyPreferencesGroup">
             <property name="visible">True</property>
+
             <child>
-              <object class="HdyPreferencesGroup">
+              <object class="GtkBox">
+                <property name="orientation">vertical</property>
+                <property name="spacing">8</property>
                 <property name="visible">True</property>
 
                 <child>
                   <object class="GtkBox">
+                    <property name="margin">20</property>
                     <property name="orientation">vertical</property>
-                    <property name="spacing">8</property>
+                    <property name="spacing">12</property>
                     <property name="visible">True</property>
 
                     <child>
-                      <object class="GtkBox">
-                        <property name="margin">20</property>
-                        <property name="orientation">vertical</property>
-                        <property name="spacing">12</property>
+                      <object class="GtkBox" id="lozenge">
+                        <property name="halign">center</property>
                         <property name="visible">True</property>
-
+                        <style>
+                          <class name="context-tile-lozenge"/>
+                          <class name="large"/>
+                          <class name="grey"/>
+                        </style>
                         <child>
-                          <object class="GtkBox" id="lozenge">
+                          <object class="GtkImage" id="icon">
                             <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>
-                            <style>
-                              <class name="context-tile-lozenge"/>
-                              <class name="large"/>
-                              <class name="grey"/>
-                            </style>
-                            <child>
-                              <object class="GtkImage" id="icon">
-                                <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="title" type="labelled-by"/>
-                                </accessibility>
-                              </object>
-                              <packing>
-                                <property name="expand">True</property>
-                              </packing>
-                            </child>
-                          </object>
-                          <packing>
-                            <property name="fill">False</property>
-                          </packing>
-                        </child>
-
-                        <child>
-                          <object class="GtkLabel" id="title">
-                            <!-- this is a placeholder: the text is actually set in code -->
-                            <property name="justify">center</property>
-                            <property name="label">Shortwave is safe</property>
-                            <property name="visible">True</property>
-                            <property name="wrap">True</property>
-                            <property name="xalign">0.5</property>
-                            <style>
-                              <class name="title-1"/>
-                            </style>
                             <accessibility>
-                              <relation target="lozenge" type="label-for"/>
+                              <relation target="title" type="labelled-by"/>
                             </accessibility>
-                            <style>
-                              <class name="context-tile-title"/>
-                            </style>
                           </object>
+                          <packing>
+                            <property name="expand">True</property>
+                          </packing>
                         </child>
                       </object>
+                      <packing>
+                        <property name="fill">False</property>
+                      </packing>
                     </child>
 
                     <child>
-                      <object class="GtkListBox" id="permissions_list">
+                      <object class="GtkLabel" id="title">
+                        <!-- this is a placeholder: the text is actually set in code -->
+                        <property name="justify">center</property>
+                        <property name="label">Shortwave is safe</property>
                         <property name="visible">True</property>
-                        <property name="selection_mode">none</property>
-                        <property name="halign">fill</property>
-                        <property name="valign">start</property>
+                        <property name="wrap">True</property>
+                        <property name="xalign">0.5</property>
                         <style>
-                          <class name="content"/>
+                          <class name="title-1"/>
+                        </style>
+                        <accessibility>
+                          <relation target="lozenge" type="label-for"/>
+                        </accessibility>
+                        <style>
+                          <class name="context-tile-title"/>
                         </style>
-                        <!-- Rows are added in code -->
-                        <placeholder/>
                       </object>
                     </child>
+                  </object>
+                </child>
+
+                <child>
+                  <object class="GtkListBox" id="permissions_list">
+                    <property name="visible">True</property>
+                    <property name="selection_mode">none</property>
+                    <property name="halign">fill</property>
+                    <property name="valign">start</property>
+                    <style>
+                      <class name="content"/>
+                    </style>
+                    <!-- Rows are added in code -->
+                    <placeholder/>
+                  </object>
+                </child>
+
+                <child>
+                  <object class="HdyPreferencesGroup">
+                    <property name="margin-top">20</property>
+                    <property name="title" translatable="yes">Details</property>
+                    <property name="visible">True</property>
 
                     <child>
-                      <object class="HdyPreferencesGroup">
-                        <property name="margin-top">20</property>
-                        <property name="title" translatable="yes">Details</property>
+                      <object class="GtkListBox" id="details_list">
                         <property name="visible">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="GtkListBox" id="details_list">
+                          <object class="GtkListBoxRow">
                             <property name="visible">True</property>
-                            <property name="selection_mode">none</property>
-                            <property name="halign">fill</property>
-                            <property name="valign">start</property>
-                            <style>
-                              <class name="content"/>
-                            </style>
-
+                            <property name="activatable">False</property>
                             <child>
-                              <object class="GtkListBoxRow">
+                              <object class="GtkBox">
                                 <property name="visible">True</property>
-                                <property name="activatable">False</property>
+                                <property name="margin">12</property>
+                                <property name="orientation">horizontal</property>
+                                <property name="spacing">12</property>
                                 <child>
-                                  <object class="GtkBox">
+                                  <object class="GtkLabel" id="license_title">
+                                    <property name="ellipsize">end</property>
+                                    <property name="hexpand">True</property>
                                     <property name="visible">True</property>
-                                    <property name="margin">12</property>
-                                    <property name="orientation">horizontal</property>
-                                    <property name="spacing">12</property>
-                                    <child>
-                                      <object class="GtkLabel" id="license_title">
-                                        <property name="ellipsize">end</property>
-                                        <property name="hexpand">True</property>
-                                        <property name="visible">True</property>
-                                        <property name="xalign">0</property>
-                                        <property name="yalign">0.5</property>
-                                        <property name="label" translatable="yes">License</property>
-                                        <accessibility>
-                                          <relation target="license_label" type="label-for"/>
-                                        </accessibility>
-                                      </object>
-                                    </child>
-                                    <child>
-                                      <object class="GtkLabel" id="license_label">
-                                        <property name="ellipsize">end</property>
-                                        <property name="valign">center</property>
-                                        <property name="visible">True</property>
-                                        <!-- This is a placeholder. The label is set in code. -->
-                                        <property name="label">GNU GPL v3+</property>
-                                        <style>
-                                          <class name="dim-label"/>
-                                        </style>
-                                        <accessibility>
-                                          <relation target="license_title" type="labelled-by"/>
-                                        </accessibility>
-                                      </object>
-                                    </child>
+                                    <property name="xalign">0</property>
+                                    <property name="yalign">0.5</property>
+                                    <property name="label" translatable="yes">License</property>
+                                    <accessibility>
+                                      <relation target="license_label" type="label-for"/>
+                                    </accessibility>
+                                  </object>
+                                </child>
+                                <child>
+                                  <object class="GtkLabel" id="license_label">
+                                    <property name="ellipsize">end</property>
+                                    <property name="valign">center</property>
+                                    <property name="visible">True</property>
+                                    <!-- This is a placeholder. The label is set in code. -->
+                                    <property name="label">GNU GPL v3+</property>
+                                    <style>
+                                      <class name="dim-label"/>
+                                    </style>
+                                    <accessibility>
+                                      <relation target="license_title" type="labelled-by"/>
+                                    </accessibility>
                                   </object>
                                 </child>
                               </object>
                             </child>
+                          </object>
+                        </child>
 
+                        <child>
+                          <object class="GtkListBoxRow">
+                            <property name="visible">True</property>
+                            <property name="activatable">False</property>
                             <child>
-                              <object class="GtkListBoxRow">
+                              <object class="GtkBox">
+                                <property name="margin">12</property>
                                 <property name="visible">True</property>
-                                <property name="activatable">False</property>
+                                <property name="orientation">horizontal</property>
+                                <property name="spacing">12</property>
+                                <child>
+                                  <object class="GtkLabel" id="source_title">
+                                    <property name="ellipsize">end</property>
+                                    <property name="hexpand">True</property>
+                                    <property name="visible">True</property>
+                                    <property name="xalign">0</property>
+                                    <property name="yalign">0.5</property>
+                                    <property name="label" translatable="yes" comments="Translators: This is 
a heading for a row showing the origin/source of an app (such as ‘flathub’).">Source</property>
+                                    <accessibility>
+                                      <relation target="source_label" type="label-for"/>
+                                    </accessibility>
+                                  </object>
+                                </child>
                                 <child>
-                                  <object class="GtkBox">
-                                    <property name="margin">12</property>
+                                  <object class="GtkLabel" id="source_label">
+                                    <property name="ellipsize">end</property>
+                                    <property name="valign">center</property>
                                     <property name="visible">True</property>
-                                    <property name="orientation">horizontal</property>
-                                    <property name="spacing">12</property>
-                                    <child>
-                                      <object class="GtkLabel" id="source_title">
-                                        <property name="ellipsize">end</property>
-                                        <property name="hexpand">True</property>
-                                        <property name="visible">True</property>
-                                        <property name="xalign">0</property>
-                                        <property name="yalign">0.5</property>
-                                        <property name="label" translatable="yes" comments="Translators: 
This is a heading for a row showing the origin/source of an app (such as ‘flathub’).">Source</property>
-                                        <accessibility>
-                                          <relation target="source_label" type="label-for"/>
-                                        </accessibility>
-                                      </object>
-                                    </child>
-                                    <child>
-                                      <object class="GtkLabel" id="source_label">
-                                        <property name="ellipsize">end</property>
-                                        <property name="valign">center</property>
-                                        <property name="visible">True</property>
-                                        <!-- This is a placeholder. The label is set in code. -->
-                                        <property name="label">flathub.org</property>
-                                        <style>
-                                          <class name="dim-label"/>
-                                        </style>
-                                        <accessibility>
-                                          <relation target="source_title" type="labelled-by"/>
-                                        </accessibility>
-                                      </object>
-                                    </child>
+                                    <!-- This is a placeholder. The label is set in code. -->
+                                    <property name="label">flathub.org</property>
+                                    <style>
+                                      <class name="dim-label"/>
+                                    </style>
+                                    <accessibility>
+                                      <relation target="source_title" type="labelled-by"/>
+                                    </accessibility>
                                   </object>
                                 </child>
                               </object>
                             </child>
+                          </object>
+                        </child>
 
+                        <child>
+                          <object class="GtkListBoxRow" id="sdk_row">
+                            <property name="visible">True</property>
+                            <property name="activatable">False</property>
                             <child>
-                              <object class="GtkListBoxRow" id="sdk_row">
+                              <object class="GtkBox">
+                                <property name="margin">12</property>
                                 <property name="visible">True</property>
-                                <property name="activatable">False</property>
+                                <property name="orientation">horizontal</property>
+                                <property name="spacing">12</property>
+                                <child>
+                                  <object class="GtkLabel" id="sdk_title">
+                                    <property name="ellipsize">end</property>
+                                    <property name="hexpand">True</property>
+                                    <property name="visible">True</property>
+                                    <property name="xalign">0</property>
+                                    <property name="yalign">0.5</property>
+                                    <property name="label" translatable="yes">SDK</property>
+                                    <accessibility>
+                                      <relation target="sdk_label" type="label-for"/>
+                                    </accessibility>
+                                  </object>
+                                </child>
                                 <child>
-                                  <object class="GtkBox">
-                                    <property name="margin">12</property>
+                                  <object class="GtkLabel" id="sdk_label">
+                                    <property name="ellipsize">end</property>
+                                    <property name="valign">center</property>
                                     <property name="visible">True</property>
-                                    <property name="orientation">horizontal</property>
-                                    <property name="spacing">12</property>
-                                    <child>
-                                      <object class="GtkLabel" id="sdk_title">
-                                        <property name="ellipsize">end</property>
-                                        <property name="hexpand">True</property>
-                                        <property name="visible">True</property>
-                                        <property name="xalign">0</property>
-                                        <property name="yalign">0.5</property>
-                                        <property name="label" translatable="yes">SDK</property>
-                                        <accessibility>
-                                          <relation target="sdk_label" type="label-for"/>
-                                        </accessibility>
-                                      </object>
-                                    </child>
-                                    <child>
-                                      <object class="GtkLabel" id="sdk_label">
-                                        <property name="ellipsize">end</property>
-                                        <property name="valign">center</property>
-                                        <property name="visible">True</property>
-                                        <!-- This is a placeholder. The label is set in code. -->
-                                        <property name="label">GNOME 3.36.12</property>
-                                        <style>
-                                          <class name="dim-label"/>
-                                        </style>
-                                        <accessibility>
-                                          <relation target="sdk_title" type="labelled-by"/>
-                                        </accessibility>
-                                      </object>
-                                    </child>
+                                    <!-- This is a placeholder. The label is set in code. -->
+                                    <property name="label">GNOME 3.36.12</property>
+                                    <style>
+                                      <class name="dim-label"/>
+                                    </style>
+                                    <accessibility>
+                                      <relation target="sdk_title" type="labelled-by"/>
+                                    </accessibility>
                                   </object>
                                 </child>
                               </object>
@@ -236,21 +234,23 @@
                         </child>
                       </object>
                     </child>
+                  </object>
+                </child>
 
-                    <child>
-                      <object class="GtkLinkButton">
-                        <property name="label" translatable="yes">How to add missing information</property>
-                        <property name="margin-top">16</property>
-                        <property 
name="uri">https://gitlab.gnome.org/GNOME/gnome-software/-/wikis/software-metadata#safety</property>
-                        <property name="visible">True</property>
-                      </object>
-                    </child>
+                <child>
+                  <object class="GtkLinkButton">
+                    <property name="label" translatable="yes">How to add missing information</property>
+                    <property name="margin-top">16</property>
+                    <property 
name="uri">https://gitlab.gnome.org/GNOME/gnome-software/-/wikis/software-metadata#safety</property>
+                    <property name="visible">True</property>
                   </object>
                 </child>
               </object>
             </child>
           </object>
         </child>
+      </object>
+    </child>
   </template>
 
   <object class="GtkSizeGroup" id="details_size_group">
diff --git a/src/gs-storage-context-dialog.ui b/src/gs-storage-context-dialog.ui
index cd6288ad8..794f1e916 100644
--- a/src/gs-storage-context-dialog.ui
+++ b/src/gs-storage-context-dialog.ui
@@ -3,109 +3,109 @@
   <requires lib="gtk+" version="3.10"/>
   <template class="GsStorageContextDialog" parent="GsInfoWindow">
     <property name="title" translatable="yes" comments="Translators: This is the title of the dialog which 
contains information about the storage or download size needed for an app">Storage</property>
+    <child>
+      <object class="HdyPreferencesPage">
+        <property name="visible">True</property>
         <child>
-          <object class="HdyPreferencesPage">
+          <object class="HdyPreferencesGroup">
             <property name="visible">True</property>
+
             <child>
-              <object class="HdyPreferencesGroup">
+              <object class="GtkBox">
+                <property name="orientation">vertical</property>
+                <property name="spacing">8</property>
                 <property name="visible">True</property>
 
                 <child>
                   <object class="GtkBox">
+                    <property name="margin">20</property>
                     <property name="orientation">vertical</property>
-                    <property name="spacing">8</property>
+                    <property name="spacing">12</property>
                     <property name="visible">True</property>
 
                     <child>
-                      <object class="GtkBox">
-                        <property name="margin">20</property>
-                        <property name="orientation">vertical</property>
-                        <property name="spacing">12</property>
+                      <object class="GtkBox" id="lozenge">
+                        <property name="halign">center</property>
                         <property name="visible">True</property>
-
+                        <style>
+                          <class name="context-tile-lozenge"/>
+                          <class name="large"/>
+                          <class name="grey"/>
+                        </style>
                         <child>
-                          <object class="GtkBox" id="lozenge">
+                          <object class="GtkLabel" id="lozenge_content">
                             <property name="halign">center</property>
-                            <property name="visible">True</property>
-                            <style>
-                              <class name="context-tile-lozenge"/>
-                              <class name="large"/>
-                              <class name="grey"/>
-                            </style>
-                            <child>
-                              <object class="GtkLabel" id="lozenge_content">
-                                <property name="halign">center</property>
-                                <!-- this is a placeholder: the text is actually set in code -->
-                                <property name="label">20 MB</property>
-                                <property name="visible">True</property>
-                                <property name="xalign">0.5</property>
-                                <accessibility>
-                                  <relation target="title" type="labelled-by"/>
-                                </accessibility>
-                              </object>
-                              <packing>
-                                <property name="expand">True</property>
-                              </packing>
-                            </child>
-                          </object>
-                          <packing>
-                            <property name="fill">False</property>
-                          </packing>
-                        </child>
-
-                        <child>
-                          <object class="GtkLabel" id="title">
-                            <property name="justify">center</property>
                             <!-- this is a placeholder: the text is actually set in code -->
-                            <property name="label">Shortwave works on this device</property>
+                            <property name="label">20 MB</property>
                             <property name="visible">True</property>
-                            <property name="wrap">True</property>
                             <property name="xalign">0.5</property>
-                            <style>
-                              <class name="title-1"/>
-                            </style>
                             <accessibility>
-                              <relation target="lozenge" type="label-for"/>
+                              <relation target="title" type="labelled-by"/>
                             </accessibility>
-                            <style>
-                              <class name="context-tile-title"/>
-                            </style>
                           </object>
+                          <packing>
+                            <property name="expand">True</property>
+                          </packing>
                         </child>
                       </object>
+                      <packing>
+                        <property name="fill">False</property>
+                      </packing>
                     </child>
 
                     <child>
-                      <object class="GtkListBox" id="sizes_list">
+                      <object class="GtkLabel" id="title">
+                        <property name="justify">center</property>
+                        <!-- this is a placeholder: the text is actually set in code -->
+                        <property name="label">Shortwave works on this device</property>
                         <property name="visible">True</property>
-                        <property name="selection_mode">none</property>
-                        <property name="halign">fill</property>
-                        <property name="valign">start</property>
+                        <property name="wrap">True</property>
+                        <property name="xalign">0.5</property>
+                        <style>
+                          <class name="title-1"/>
+                        </style>
+                        <accessibility>
+                          <relation target="lozenge" type="label-for"/>
+                        </accessibility>
                         <style>
-                          <class name="content"/>
+                          <class name="context-tile-title"/>
                         </style>
-                        <!-- Rows are added in code -->
-                        <placeholder/>
                       </object>
                     </child>
+                  </object>
+                </child>
 
-                    <child>
-                      <object class="GtkLabel" id="manage_storage_label">
-                        <!-- The ‘dummy’ URI is ignored in the activate-link handler, but needs to be 
specified as otherwise GTK complains that no href is set -->
-                        <property name="label" translatable="yes" comments="Translators: Please do not 
translate the markup or link href">Cached data can be cleared from the &lt;a href="dummy"&gt;_application 
settings&lt;/a&gt;.</property>
-                        <property name="margin-top">16</property>
-                        <property name="use-markup">True</property>
-                        <property name="use-underline">True</property>
-                        <property name="visible">True</property>
-                        <signal name="activate-link" handler="manage_storage_activate_link_cb"/>
-                      </object>
-                    </child>
+                <child>
+                  <object class="GtkListBox" id="sizes_list">
+                    <property name="visible">True</property>
+                    <property name="selection_mode">none</property>
+                    <property name="halign">fill</property>
+                    <property name="valign">start</property>
+                    <style>
+                      <class name="content"/>
+                    </style>
+                    <!-- Rows are added in code -->
+                    <placeholder/>
+                  </object>
+                </child>
+
+                <child>
+                  <object class="GtkLabel" id="manage_storage_label">
+                    <!-- The ‘dummy’ URI is ignored in the activate-link handler, but needs to be specified 
as otherwise GTK complains that no href is set -->
+                    <property name="label" translatable="yes" comments="Translators: Please do not translate 
the markup or link href">Cached data can be cleared from the &lt;a href="dummy"&gt;_application 
settings&lt;/a&gt;.</property>
+                    <property name="margin-top">16</property>
+                    <property name="use-markup">True</property>
+                    <property name="use-underline">True</property>
+                    <property name="visible">True</property>
+                    <signal name="activate-link" handler="manage_storage_activate_link_cb"/>
                   </object>
                 </child>
               </object>
             </child>
           </object>
         </child>
+      </object>
+    </child>
   </template>
 
   <object class="GtkSizeGroup" id="lozenge_size_group">


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