[gnome-control-center/wip/new-design: 6/7] XML format
- From: Kate Hsuan <khsuan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/new-design: 6/7] XML format
- Date: Mon, 1 Aug 2022 08:52:50 +0000 (UTC)
commit d36f8c1e79d993f7122f31caa418803f0e8ee15e
Author: Kate Hsuan <hpa redhat com>
Date: Mon Aug 1 15:56:25 2022 +0800
XML format
.../cc-firmware-security-dialog.ui | 229 +++++++--------------
1 file changed, 71 insertions(+), 158 deletions(-)
---
diff --git a/panels/firmware-security/cc-firmware-security-dialog.ui
b/panels/firmware-security/cc-firmware-security-dialog.ui
index de509245f..18ee03aaf 100644
--- a/panels/firmware-security/cc-firmware-security-dialog.ui
+++ b/panels/firmware-security/cc-firmware-security-dialog.ui
@@ -12,7 +12,6 @@
<property name="child">
<object class="GtkBox">
<property name="orientation">vertical</property>
-
<child>
<object class="GtkHeaderBar">
<property name="valign">start</property>
@@ -24,65 +23,35 @@
</property>
</object>
</child>
-
<child>
<object class="AdwPreferencesPage">
<property name="vexpand">True</property>
-
<child>
<object class="AdwPreferencesGroup">
-
-
-
- <child>
- <object class="GtkBox" id="dialog_hsi_circle_box">
- <property name="orientation">vertical</property>
- <property name="halign">center</property>
- <property name="valign">center</property>
-
-
-
- <child>
- <object class="GtkLabel" id="dialog_hsi_circle_number">
+ <child>
+ <object class="GtkBox" id="dialog_hsi_circle_box">
+ <property name="orientation">vertical</property>
<property name="halign">center</property>
<property name="valign">center</property>
- <property name="vexpand">True</property>
- <property name="justify">center</property>
-
- <property name="label">9</property>
-
+ <child>
+ <object class="GtkLabel" id="dialog_hsi_circle_number">
+ <property name="halign">center</property>
+ <property name="valign">center</property>
+ <property name="vexpand">True</property>
+ <property name="justify">center</property>
+ <property name="label">9</property>
+ <style>
+ <class name="hsi-level-font" />
+ </style>
+ </object>
+ </child>
<style>
- <class name="hsi-level-font"/>
+ <class name="hsi-level-box" />
</style>
</object>
</child>
-
- <style>
- <class name="hsi-level-box"/>
- </style>
-
- </object>
- </child>
-
-
-
-
-
-
-
</object>
</child>
-
-
-
-
-
-
-
-
-
-
-
<child>
<object class="AdwPreferencesGroup">
<child>
@@ -94,7 +63,6 @@
</child>
</object>
</child>
-
<child>
<object class="AdwPreferencesGroup">
<child>
@@ -105,7 +73,6 @@
</child>
</object>
</child>
-
<child>
<object class="AdwPreferencesGroup">
<child>
@@ -114,39 +81,28 @@
<property name="activatable">True</property>
<property name="title" translatable="yes">Level 1</property>
<signal name="activated" handler="on_hsi_clicked_cb" swapped="no" />
-
-
- <child>
+ <child>
<object class="GtkImage" id="hsi1_icon">
<property name="icon-name">process-stop</property>
- <style>
- <class name="hsi_icon"/>
- <class name="error-hsi-icon"/>
-
- </style>
+ <style>
+ <class name="hsi_icon" />
+ <class name="error-hsi-icon" />
+ </style>
+ </object>
+ </child>
+ <child>
+ <object class="GtkLabel" id="hsi1_title">
+ <property name="halign">start</property>
+ <property name="valign">center</property>
+ <property name="vexpand">True</property>
+ <property name="justify">left</property>
+ <property name="label">Failed</property>
+ <style>
+ <class name="hsi_label" />
+ <class name="error-title" />
+ </style>
</object>
</child>
-
- <child>
- <object class="GtkLabel" id="hsi1_title">
- <property name="halign">start</property>
- <property name="valign">center</property>
- <property name="vexpand">True</property>
- <property name="justify">left</property>
-
- <property name="label">Failed</property>
- <style>
- <class name="hsi_label"/>
- <class name="error-title"/>
-
- </style>
- </object>
- </child>
-
-
-
-
-
<child>
<object class="GtkImage">
<property name="icon-name">go-next-symbolic</property>
@@ -160,40 +116,28 @@
<property name="activatable">True</property>
<property name="title" translatable="yes">Level 2</property>
<signal name="activated" handler="on_hsi_clicked_cb" swapped="no" />
-
-
-
- <child>
+ <child>
<object class="GtkImage" id="hsi2_icon">
<property name="icon-name">process-stop</property>
- <style>
- <class name="hsi_icon"/>
- <class name="error-hsi-icon"/>
- </style>
+ <style>
+ <class name="hsi_icon" />
+ <class name="error-hsi-icon" />
+ </style>
+ </object>
+ </child>
+ <child>
+ <object class="GtkLabel" id="hsi2_title">
+ <property name="halign">start</property>
+ <property name="valign">center</property>
+ <property name="vexpand">True</property>
+ <property name="justify">left</property>
+ <property name="label">Failed</property>
+ <style>
+ <class name="hsi_label" />
+ <class name="error-title" />
+ </style>
</object>
</child>
-
- <child>
- <object class="GtkLabel" id="hsi2_title">
- <property name="halign">start</property>
- <property name="valign">center</property>
- <property name="vexpand">True</property>
- <property name="justify">left</property>
-
- <property name="label">Failed</property>
- <style>
- <class name="hsi_label"/>
- <class name="error-title"/>
- </style>
- </object>
- </child>
-
-
-
-
-
-
-
<child>
<object class="GtkImage">
<property name="icon-name">go-next-symbolic</property>
@@ -207,51 +151,28 @@
<property name="activatable">True</property>
<property name="title" translatable="yes">Level 3</property>
<signal name="activated" handler="on_hsi_clicked_cb" swapped="no" />
-
-
-
-
- <child>
+ <child>
<object class="GtkImage" id="hsi3_icon">
<property name="icon-name">process-stop</property>
- <style>
- <class name="hsi_icon"/>
- <class name="error-hsi-icon"/>
- </style>
+ <style>
+ <class name="hsi_icon" />
+ <class name="error-hsi-icon" />
+ </style>
+ </object>
+ </child>
+ <child>
+ <object class="GtkLabel" id="hsi3_title">
+ <property name="halign">start</property>
+ <property name="valign">center</property>
+ <property name="vexpand">True</property>
+ <property name="justify">left</property>
+ <property name="label">Failed</property>
+ <style>
+ <class name="hsi_label" />
+ <class name="error-title" />
+ </style>
</object>
</child>
-
- <child>
- <object class="GtkLabel" id="hsi3_title">
- <property name="halign">start</property>
- <property name="valign">center</property>
- <property name="vexpand">True</property>
- <property name="justify">left</property>
-
- <property name="label">Failed</property>
- <style>
- <class name="hsi_label"/>
- <class name="error-title"/>
- </style>
- </object>
- </child>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
<child>
<object class="GtkImage">
<property name="icon-name">go-next-symbolic</property>
@@ -261,7 +182,6 @@
</child>
</object>
</child>
-
<child>
<object class="AdwPreferencesGroup">
<child>
@@ -274,21 +194,17 @@
</child>
</object>
</child>
-
</object>
</child>
-
</object>
</property>
</object>
</child>
-
<child>
<object class="AdwLeafletPage">
<property name="child">
<object class="GtkBox">
<property name="orientation">vertical</property>
-
<child>
<object class="GtkHeaderBar">
<property name="valign">start</property>
@@ -309,7 +225,6 @@
</child>
</object>
</child>
-
<child>
<object class="AdwPreferencesPage">
<child>
@@ -329,13 +244,11 @@
</child>
</object>
</child>
-
</object>
</property>
</object>
</child>
-
</object>
</child>
</template>
-</interface>
+</interface>
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]