Before this, the user could easily only access the property values, not te names or group titles.
203 lines
No EOL
8.6 KiB
XML
203 lines
No EOL
8.6 KiB
XML
<?xml version="1.0"?>
|
|
<interface>
|
|
<template class="CcSystemDetailsWindow" parent="AdwWindow">
|
|
<property name="title" translatable="yes">System Details</property>
|
|
<property name="modal">True</property>
|
|
<property name="hide-on-close">True</property>
|
|
<property name="destroy_with_parent">True</property>
|
|
<property name="default-width">640</property>
|
|
<property name="default-height">420</property>
|
|
<property name="content">
|
|
<object class="AdwToastOverlay" id="toast_overlay">
|
|
<property name="hexpand">True</property>
|
|
<property name="valign">baseline</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="child">
|
|
<object class="GtkBox">
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="AdwHeaderBar">
|
|
<child type="start">
|
|
<object class="GtkButton" id="details_copy_button">
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="spacing">6</property>
|
|
<child>
|
|
<object class="GtkImage">
|
|
<property name="icon-name">edit-copy-symbolic</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="label">Copy</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<signal name="clicked" handler="on_copy_button_clicked_cb" swapped="no" />
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="orientation">vertical</property>
|
|
<property name="margin-top">12</property>
|
|
<property name="margin-bottom">12</property>
|
|
<property name="margin-start">12</property>
|
|
<property name="margin-end">12</property>
|
|
<property name="spacing">12</property>
|
|
|
|
<!-- Hardware Information -->
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="accessible-role">group</property>
|
|
<property name="orientation">vertical</property>
|
|
<property name="margin-top">6</property>
|
|
<property name="margin-bottom">6</property>
|
|
<property name="margin-start">6</property>
|
|
<property name="margin-end">6</property>
|
|
<accessibility>
|
|
<relation name="labelled-by">hardware_info_label</relation>
|
|
</accessibility>
|
|
|
|
<child>
|
|
<object class="GtkLabel" id="hardware_info_label">
|
|
<property name="label" translatable="yes">Hardware Information</property>
|
|
<property name="halign">start</property>
|
|
<attributes>
|
|
<attribute name="weight" value="bold"/>
|
|
</attributes>
|
|
</object>
|
|
</child>
|
|
|
|
<!-- Hardware Model -->
|
|
<child>
|
|
<object class="CcInfoEntry" id="hardware_model_row">
|
|
<property name="label" translatable="yes">Model</property>
|
|
</object>
|
|
</child>
|
|
|
|
<!-- Memory -->
|
|
<child>
|
|
<object class="CcInfoEntry" id="memory_row">
|
|
<property name="label" translatable="yes">Memory</property>
|
|
</object>
|
|
</child>
|
|
|
|
<!-- Processor -->
|
|
<child>
|
|
<object class="CcInfoEntry" id="processor_row">
|
|
<property name="label" translatable="yes">Processor</property>
|
|
</object>
|
|
</child>
|
|
|
|
<!-- Graphics -->
|
|
<child>
|
|
<object class="GtkBox" id="graphics_row">
|
|
<property name="orientation">vertical</property>
|
|
</object>
|
|
</child>
|
|
|
|
<!-- Storage -->
|
|
<child>
|
|
<object class="CcInfoEntry" id="disk_row">
|
|
<property name="label" translatable="yes">Disk Capacity</property>
|
|
</object>
|
|
</child>
|
|
|
|
</object>
|
|
</child>
|
|
|
|
<!-- Software Information -->
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="accessible-role">group</property>
|
|
<property name="orientation">vertical</property>
|
|
<property name="margin-top">6</property>
|
|
<property name="margin-bottom">6</property>
|
|
<property name="margin-start">6</property>
|
|
<property name="margin-end">6</property>
|
|
<accessibility>
|
|
<relation name="labelled-by">software_info_label</relation>
|
|
</accessibility>
|
|
|
|
<child>
|
|
<object class="GtkLabel" id="software_info_label">
|
|
<property name="label" translatable="yes">Software Information</property>
|
|
<property name="halign">start</property>
|
|
<attributes>
|
|
<attribute name="weight" value="bold"/>
|
|
</attributes>
|
|
</object>
|
|
</child>
|
|
|
|
<!-- Firmware Version -->
|
|
<child>
|
|
<object class="CcInfoEntry" id="firmware_version_row">
|
|
<property name="label" translatable="yes">Firmware Version</property>
|
|
</object>
|
|
</child>
|
|
|
|
<!-- OS Name -->
|
|
<child>
|
|
<object class="CcInfoEntry" id="os_name_row">
|
|
<property name="label" translatable="yes"
|
|
comments="translators: this field contains the distro name and version">OS Name</property>
|
|
</object>
|
|
</child>
|
|
|
|
<!-- OS Build -->
|
|
<child>
|
|
<object class="CcInfoEntry" id="os_build_row">
|
|
<property name="label" translatable="yes"
|
|
comments="translators: this field contains the distro build">OS Build</property>
|
|
</object>
|
|
</child>
|
|
|
|
<!-- OS Type -->
|
|
<child>
|
|
<object class="CcInfoEntry" id="os_type_row">
|
|
<property name="label" translatable="yes"
|
|
comments="translators: this field contains the distro type">OS Type</property>
|
|
</object>
|
|
</child>
|
|
|
|
<!-- GNOME Version -->
|
|
<child>
|
|
<object class="CcInfoEntry" id="gnome_version_row">
|
|
<property name="label" translatable="yes">GNOME Version</property>
|
|
</object>
|
|
</child>
|
|
|
|
<!-- Windowing System -->
|
|
<child>
|
|
<object class="CcInfoEntry" id="windowing_system_row">
|
|
<property name="label" translatable="yes">Windowing System</property>
|
|
</object>
|
|
</child>
|
|
|
|
<!-- Virtualization -->
|
|
<child>
|
|
<object class="CcInfoEntry" id="virtualization_row">
|
|
<property name="label" translatable="yes">Virtualization</property>
|
|
</object>
|
|
</child>
|
|
|
|
<!-- Kernel version -->
|
|
<child>
|
|
<object class="CcInfoEntry" id="kernel_row">
|
|
<property name="label" translatable="yes">Kernel Version</property>
|
|
</object>
|
|
</child>
|
|
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</property>
|
|
</object>
|
|
</property>
|
|
</template>
|
|
</interface> |