Start porting panels to the new panel format. This commit temporarily makes panels have two titlebar, which will be fixed soon.
211 lines
7.8 KiB
XML
211 lines
7.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<template class="CcInfoOverviewPanel" parent="CcPanel">
|
|
<child type="content">
|
|
<object class="AdwPreferencesPage">
|
|
<child>
|
|
<object class="AdwPreferencesGroup">
|
|
|
|
<child>
|
|
<object class="AdwClamp">
|
|
<property name="orientation">vertical</property>
|
|
<property name="maximum-size">192</property>
|
|
<property name="tightening-threshold">192</property>
|
|
<property name="child">
|
|
<object class="GtkPicture" id="os_logo">
|
|
<property name="can-shrink">False</property>
|
|
<property name="alternative-text" translatable="yes">System Logo</property>
|
|
</object>
|
|
</property>
|
|
</object>
|
|
</child>
|
|
|
|
</object>
|
|
</child>
|
|
|
|
<child>
|
|
<object class="AdwPreferencesGroup">
|
|
|
|
<!-- Device name -->
|
|
<child>
|
|
<object class="CcListRow" id="hostname_row">
|
|
<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="show-arrow">True</property>
|
|
<signal name="activated" handler="cc_info_panel_row_activated_cb" swapped="yes"/>
|
|
</object>
|
|
</child>
|
|
|
|
</object>
|
|
</child>
|
|
|
|
<child>
|
|
<object class="AdwPreferencesGroup">
|
|
|
|
<!-- 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="activatable">False</property>
|
|
<property name="title" translatable="yes">Memory</property>
|
|
</object>
|
|
</child>
|
|
|
|
<!-- Processor -->
|
|
<child>
|
|
<object class="CcListRow" id="processor_row">
|
|
<property name="activatable">False</property>
|
|
<property name="title" translatable="yes">Processor</property>
|
|
</object>
|
|
</child>
|
|
|
|
<!-- Graphics -->
|
|
<child>
|
|
<object class="CcListRow" id="graphics_row">
|
|
<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="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="AdwPreferencesGroup">
|
|
|
|
<!-- OS Name -->
|
|
<child>
|
|
<object class="CcListRow" id="os_name_row">
|
|
<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="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="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="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="title" translatable="yes">Software Updates</property>
|
|
<property name="icon-name">go-next-symbolic</property>
|
|
<signal name="activated" handler="cc_info_panel_row_activated_cb" swapped="yes"/>
|
|
</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="hide-on-close">True</property>
|
|
<property name="title" translatable="yes">Rename Device</property>
|
|
<signal name="response" handler="on_hostname_editor_dialog_response_cb" object="CcInfoOverviewPanel" swapped="no" />
|
|
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="margin-top">18</property>
|
|
<property name="margin-start">12</property>
|
|
<property name="margin-end">12</property>
|
|
<property name="margin-bottom">18</property>
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<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">
|
|
<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="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="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>
|