By default info-overview panel shows the Gnome logo from a static resource, currently every distro patches this component to show their logos info-overview panel could use `/etc/os-release` file to fetch the OS logo instead this static resource
256 lines
11 KiB
XML
256 lines
11 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<!-- interface-requires gtk+ 3.0 -->
|
|
<template class="CcInfoOverviewPanel" parent="CcPanel">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<child>
|
|
<object class="GtkScrolledWindow">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="min-content-height">480</property>
|
|
<property name="hscrollbar-policy">never</property>
|
|
<child>
|
|
<object class="HdyClamp">
|
|
<property name="visible">True</property>
|
|
<property name="margin_top">32</property>
|
|
<property name="margin_bottom">32</property>
|
|
<property name="margin_start">12</property>
|
|
<property name="margin_end">12</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="valign">center</property>
|
|
<property name="spacing">30</property>
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkImage" id="os_logo">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">False</property>
|
|
</packing>
|
|
</child>
|
|
|
|
<child>
|
|
<object class="GtkListBox">
|
|
<property name="visible">True</property>
|
|
<property name="selection-mode">none</property>
|
|
<signal name="row-activated" handler="cc_info_panel_row_activated_cb" swapped="yes"/>
|
|
<style>
|
|
<class name="frame" />
|
|
</style>
|
|
|
|
<!-- Device name -->
|
|
<child>
|
|
<object class="CcListRow" id="hostname_row">
|
|
<property name="visible">True</property>
|
|
<property name="title" translatable="yes">Device Name</property>
|
|
<property name="secondary-label" bind-source="hostname_entry" bind-property="text" bind-flags="sync-create" />
|
|
<property name="icon-name">go-next-symbolic</property>
|
|
</object>
|
|
</child>
|
|
|
|
</object>
|
|
</child>
|
|
|
|
<child>
|
|
<object class="GtkListBox" id="hardware_box">
|
|
<property name="visible">True</property>
|
|
<property name="selection-mode">none</property>
|
|
<style>
|
|
<class name="frame" />
|
|
</style>
|
|
|
|
<!-- Hardware Model -->
|
|
<child>
|
|
<object class="CcListRow" id="hardware_model_row">
|
|
<property name="visible">False</property>
|
|
<property name="activatable">False</property>
|
|
<property name="title" translatable="yes">Hardware Model</property>
|
|
</object>
|
|
</child>
|
|
|
|
<!-- Memory -->
|
|
<child>
|
|
<object class="CcListRow" id="memory_row">
|
|
<property name="visible">True</property>
|
|
<property name="activatable">False</property>
|
|
<property name="title" translatable="yes">Memory</property>
|
|
</object>
|
|
</child>
|
|
|
|
<!-- Processor -->
|
|
<child>
|
|
<object class="CcListRow" id="processor_row">
|
|
<property name="visible">True</property>
|
|
<property name="activatable">False</property>
|
|
<property name="title" translatable="yes">Processor</property>
|
|
</object>
|
|
</child>
|
|
|
|
<!-- Graphics -->
|
|
<child>
|
|
<object class="CcListRow" id="graphics_row">
|
|
<property name="visible">True</property>
|
|
<property name="activatable">False</property>
|
|
<property name="title" translatable="yes">Graphics</property>
|
|
</object>
|
|
</child>
|
|
|
|
<!-- Disk Capacity -->
|
|
<child>
|
|
<object class="CcListRow" id="disk_row">
|
|
<property name="visible">True</property>
|
|
<property name="activatable">False</property>
|
|
<property name="title" translatable="yes">Disk Capacity</property>
|
|
<property name="secondary-label" translatable="yes">Calculating…</property>
|
|
</object>
|
|
</child>
|
|
|
|
</object>
|
|
</child>
|
|
|
|
<child>
|
|
<object class="GtkListBox" id="os_box">
|
|
<property name="visible">True</property>
|
|
<property name="selection-mode">none</property>
|
|
<signal name="row-activated" handler="cc_info_panel_row_activated_cb" swapped="yes"/>
|
|
<style>
|
|
<class name="frame" />
|
|
</style>
|
|
|
|
<!-- OS Name -->
|
|
<child>
|
|
<object class="CcListRow" id="os_name_row">
|
|
<property name="visible">True</property>
|
|
<property name="activatable">False</property>
|
|
<property name="title" translatable="yes"
|
|
comments="translators: this field contains the distro name and version">OS Name</property>
|
|
</object>
|
|
</child>
|
|
|
|
<!-- OS Type -->
|
|
<child>
|
|
<object class="CcListRow" id="os_type_row">
|
|
<property name="visible">True</property>
|
|
<property name="activatable">False</property>
|
|
<property name="title" translatable="yes">OS Type</property>
|
|
</object>
|
|
</child>
|
|
|
|
<!-- GNOME Version -->
|
|
<child>
|
|
<object class="CcListRow" id="gnome_version_row">
|
|
<property name="visible">True</property>
|
|
<property name="activatable">False</property>
|
|
<property name="title" translatable="yes">GNOME Version</property>
|
|
<property name="secondary-label">3.0</property>
|
|
</object>
|
|
</child>
|
|
|
|
<!-- Windowing System -->
|
|
<child>
|
|
<object class="CcListRow" id="windowing_system_row">
|
|
<property name="visible">True</property>
|
|
<property name="activatable">False</property>
|
|
<property name="title" translatable="yes">Windowing System</property>
|
|
</object>
|
|
</child>
|
|
|
|
<!-- Virtualization -->
|
|
<child>
|
|
<object class="CcListRow" id="virtualization_row">
|
|
<property name="visible">False</property>
|
|
<property name="title" translatable="yes">Virtualization</property>
|
|
<property name="activatable">False</property>
|
|
</object>
|
|
</child>
|
|
|
|
<!-- Software Updates -->
|
|
<child>
|
|
<object class="CcListRow" id="software_updates_row">
|
|
<property name="visible">True</property>
|
|
<property name="title" translatable="yes">Software Updates</property>
|
|
<property name="icon-name">go-next-symbolic</property>
|
|
</object>
|
|
</child>
|
|
|
|
</object>
|
|
</child>
|
|
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
|
|
<object class="GtkDialog" id="hostname_editor">
|
|
<property name="visible">False</property>
|
|
<property name="modal">True</property>
|
|
<property name="use-header-bar">1</property>
|
|
<property name="default-height">24</property>
|
|
<property name="title" translatable="yes">Rename Device</property>
|
|
<signal name="delete-event" handler="gtk_widget_hide_on_delete"/>
|
|
|
|
<child internal-child="vbox">
|
|
<object class="GtkBox">
|
|
<property name="border-width">0</property>
|
|
<property name="margin-top">18</property>
|
|
<property name="margin-start">12</property>
|
|
<property name="margin-end">12</property>
|
|
<property name="margin-bottom">18</property>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">True</property>
|
|
<property name="margin-bottom">18</property>
|
|
<property name="wrap">True</property>
|
|
<property name="max-width-chars">35</property>
|
|
<property name="xalign">0.0</property>
|
|
<property name="label" translatable="yes">The device name is used to identify this device when it is viewed over the network, or when pairing Bluetooth devices.</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkEntry" id="device_name_entry">
|
|
<property name="visible">True</property>
|
|
<signal name="changed" handler="on_device_name_entry_changed" swapped="yes"/>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
|
|
<!-- Rename button -->
|
|
<child type="action">
|
|
<object class="GtkButton" id="rename_button">
|
|
<property name="visible">True</property>
|
|
<property name="can-default">True</property>
|
|
<property name="use-underline">True</property>
|
|
<property name="label" translatable="yes">_Rename</property>
|
|
</object>
|
|
</child>
|
|
|
|
<!-- Cancel button -->
|
|
<child type="action">
|
|
<object class="GtkButton" id="cancel_button">
|
|
<property name="visible">True</property>
|
|
<property name="use-underline">True</property>
|
|
<property name="label" translatable="yes">_Cancel</property>
|
|
</object>
|
|
</child>
|
|
|
|
<action-widgets>
|
|
<action-widget response="apply" default="true">rename_button</action-widget>
|
|
<action-widget response="cancel">cancel_button</action-widget>
|
|
</action-widgets>
|
|
</object>
|
|
|
|
<object class="CcHostnameEntry" id="hostname_entry">
|
|
<property name="visible">0</property>
|
|
</object>
|
|
|
|
</interface>
|