[gnome-software: 6/18] app-context-bar: Fix the indentation
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 6/18] app-context-bar: Fix the indentation
- Date: Fri, 13 Aug 2021 15:12:59 +0000 (UTC)
commit bb4af9dfd945188f5e1b4ed9cef50042c76ecefb
Author: Adrien Plazas <kekun plazas laposte net>
Date: Fri Aug 13 08:55:03 2021 +0200
app-context-bar: Fix the indentation
src/gs-app-context-bar.ui | 480 +++++++++++++++++++++++-----------------------
1 file changed, 240 insertions(+), 240 deletions(-)
---
diff --git a/src/gs-app-context-bar.ui b/src/gs-app-context-bar.ui
index add79b60b..f3a839ab9 100644
--- a/src/gs-app-context-bar.ui
+++ b/src/gs-app-context-bar.ui
@@ -15,158 +15,158 @@
<property name="visible">True</property>
<property name="homogeneous">True</property>
- <child>
- <object class="GtkButton" id="storage_tile">
- <property name="visible">True</property>
- <signal name="clicked" handler="tile_clicked_cb"/>
- <style>
- <class name="context-tile"/>
- <class name="flat"/>
- </style>
<child>
- <object class="GtkBox">
- <property name="orientation">vertical</property>
- <property name="spacing">8</property>
+ <object class="GtkButton" id="storage_tile">
<property name="visible">True</property>
+ <signal name="clicked" handler="tile_clicked_cb"/>
+ <style>
+ <class name="context-tile"/>
+ <class name="flat"/>
+ </style>
<child>
- <object class="GtkBox" id="storage_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="grey"/>
- </style>
<child>
- <object class="GtkLabel" id="storage_tile_lozenge_content">
+ <object class="GtkBox" id="storage_tile_lozenge">
<property name="halign">center</property>
+ <property name="visible">True</property>
+ <style>
+ <class name="context-tile-lozenge"/>
+ <class name="grey"/>
+ </style>
+ <child>
+ <object class="GtkLabel" id="storage_tile_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="storage_tile_title" type="labelled-by"/>
+ <relation target="storage_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="storage_tile_title">
<!-- this is a placeholder: the text is actually set in code -->
- <property name="label">20 MB</property>
+ <property name="label">Download Size</property>
<property name="visible">True</property>
<property name="xalign">0.5</property>
<accessibility>
- <relation target="storage_tile_title" type="labelled-by"/>
- <relation target="storage_tile_description" type="details"/>
+ <relation target="storage_tile_lozenge_content" type="label-for"/>
</accessibility>
+ <style>
+ <class name="context-tile-title"/>
+ </style>
+ </object>
+ </child>
+ <child>
+ <object class="GtkLabel" id="storage_tile_description">
+ <property name="justify">center</property>
+ <!-- this is a placeholder: the text is actually set in code -->
+ <property name="label">Needs 150 MB of additional system downloads</property>
+ <property name="visible">True</property>
+ <property name="wrap">True</property>
+ <property name="xalign">0.5</property>
+ <accessibility>
+ <relation target="storage_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="storage_tile_title">
- <!-- this is a placeholder: the text is actually set in code -->
- <property name="label">Download Size</property>
- <property name="visible">True</property>
- <property name="xalign">0.5</property>
- <accessibility>
- <relation target="storage_tile_lozenge_content" type="label-for"/>
- </accessibility>
- <style>
- <class name="context-tile-title"/>
- </style>
- </object>
- </child>
- <child>
- <object class="GtkLabel" id="storage_tile_description">
- <property name="justify">center</property>
- <!-- this is a placeholder: the text is actually set in code -->
- <property name="label">Needs 150 MB of additional system downloads</property>
- <property name="visible">True</property>
- <property name="wrap">True</property>
- <property name="xalign">0.5</property>
- <accessibility>
- <relation target="storage_tile_lozenge_content" type="details-for"/>
- </accessibility>
- <style>
- <class name="context-tile-description"/>
- </style>
</object>
</child>
</object>
</child>
- </object>
- </child>
- <child>
- <object class="GtkButton" id="safety_tile">
- <property name="visible">True</property>
- <signal name="clicked" handler="tile_clicked_cb"/>
- <style>
- <class name="context-tile"/>
- <class name="flat"/>
- </style>
<child>
- <object class="GtkBox">
- <property name="orientation">vertical</property>
- <property name="spacing">8</property>
+ <object class="GtkButton" id="safety_tile">
<property name="visible">True</property>
+ <signal name="clicked" handler="tile_clicked_cb"/>
+ <style>
+ <class name="context-tile"/>
+ <class name="flat"/>
+ </style>
<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>
- </child>
</object>
</child>
@@ -176,160 +176,160 @@
<property name="visible">True</property>
<property name="homogeneous">True</property>
- <child>
- <object class="GtkButton" id="hardware_support_tile">
- <property name="visible">True</property>
- <signal name="clicked" handler="tile_clicked_cb"/>
- <style>
- <class name="context-tile"/>
- <class name="flat"/>
- </style>
<child>
- <object class="GtkBox">
- <property name="orientation">vertical</property>
- <property name="spacing">8</property>
+ <object class="GtkButton" id="hardware_support_tile">
<property name="visible">True</property>
+ <signal name="clicked" handler="tile_clicked_cb"/>
+ <style>
+ <class name="context-tile"/>
+ <class name="flat"/>
+ </style>
<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>
- </child>
- <child>
- <object class="GtkButton" id="age_rating_tile">
- <property name="visible">True</property>
- <signal name="clicked" handler="tile_clicked_cb"/>
- <style>
- <class name="context-tile"/>
- <class name="flat"/>
- </style>
<child>
- <object class="GtkBox">
- <property name="orientation">vertical</property>
- <property name="spacing">8</property>
+ <object class="GtkButton" id="age_rating_tile">
<property name="visible">True</property>
+ <signal name="clicked" handler="tile_clicked_cb"/>
+ <style>
+ <class name="context-tile"/>
+ <class name="flat"/>
+ </style>
<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>
- </child>
</object>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]