gnome-control-center/panels/privacy/cc-firmware-security-boot-dialog.ui
Marco Melorio cdea4b4503 privacy: Make security dialogs consistent
Port them to AdwWindow and AdwToolbarView, simplify the widgetry and use
a consistent styling and window size.
2023-08-06 14:11:08 +00:00

67 lines
2.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="CcFirmwareSecurityBootDialog" parent="AdwWindow">
<property name="modal">True</property>
<property name="width-request">360</property>
<property name="height-request">200</property>
<property name="default-width">420</property>
<property name="content">
<object class="AdwToolbarView">
<child type="top">
<object class="AdwHeaderBar">
<property name="show-title">False</property>
</object>
</child>
<property name="content">
<object class="GtkScrolledWindow">
<property name="hscrollbar-policy">never</property>
<property name="propagate-natural-height">True</property>
<property name="child">
<object class="GtkBox">
<property name="orientation">vertical</property>
<property name="spacing">24</property>
<property name="margin-top">12</property>
<property name="margin-start">24</property>
<property name="margin-end">24</property>
<property name="margin-bottom">24</property>
<child>
<object class="GtkImage" id="secure_boot_icon">
<property name="icon-size">large</property>
<property name="halign">center</property>
<property name="icon-name">channel-insecure</property>
<style>
<class name="security-level-icon"/>
</style>
</object>
</child>
<child>
<object class="GtkLabel" id="secure_boot_title">
<property name="wrap">True</property>
<property name="justify">center</property>
<style>
<class name="title-2" />
</style>
</object>
</child>
<child>
<object class="GtkLabel" id="secure_boot_description">
<property name="wrap">True</property>
<property name="justify">center</property>
<property name="label" translatable="yes">Secure boot prevents malicious software from being loaded when the device starts.
For more information, contact the hardware manufacturer or IT support.</property>
</object>
</child>
</object>
</property>
</object>
</property>
</object>
</property>
</template>
</interface>