Row subtitles in Settings are typically a description of the main label or setting. You can see this in Mouse & Touchpad, Privacy, Sharing, and Wi-Fi. For the System panel we did something a bit different and used the subtitle to show the status of each panel. Given the standard use of subtitles elsewhere, this feels a bit surprising which, as a result, makes the panel harder to read. I think that a standard description would probably also be more useful than the current labels. Mockups https://gitlab.gnome.org/Teams/Design/settings-mockups/-/blob/master/system/system-panel.png?ref_type=heads This also removes the thin CcSystemPage abstract class because it was only introduced to add the support for dynamic System row subtitle. Now this abstraction is no longer necessary. Fixes #2776
90 lines
4.1 KiB
XML
90 lines
4.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<template class="CcSystemPanel" parent="CcPanel">
|
|
<child type="child">
|
|
<object class="AdwNavigationView" id="navigation">
|
|
|
|
<child>
|
|
<object class="AdwNavigationPage">
|
|
<property name="title" translatable="yes">System</property>
|
|
<property name="child">
|
|
<object class="AdwToolbarView">
|
|
<child type="top">
|
|
<object class="AdwHeaderBar"/>
|
|
</child>
|
|
|
|
<property name="content">
|
|
<object class="AdwPreferencesPage">
|
|
<child>
|
|
<object class="AdwPreferencesGroup">
|
|
|
|
<child>
|
|
<object class="CcListRow">
|
|
<property name="title" translatable="yes">_Region &amp; Language</property>
|
|
<property name="subtitle" translatable="yes">System language and localization</property>
|
|
<property name="icon-name">org.gnome.Settings-region-symbolic</property>
|
|
<property name="show-arrow">True</property>
|
|
<property name="action-name">navigation.push</property>
|
|
<property name="action-target">'system-region-page'</property>
|
|
</object>
|
|
</child>
|
|
|
|
<child>
|
|
<object class="CcListRow">
|
|
<property name="title" translatable="yes">_Date &amp; Time</property>
|
|
<property name="subtitle" translatable="yes">Time zone and clock settings</property>
|
|
<property name="icon-name">org.gnome.Settings-time-symbolic</property>
|
|
<property name="show-arrow">True</property>
|
|
<property name="action-name">navigation.push</property>
|
|
<property name="action-target">'system-date-time-page'</property>
|
|
</object>
|
|
</child>
|
|
|
|
<child>
|
|
<object class="CcListRow">
|
|
<property name="title" translatable="yes">_Remote Desktop</property>
|
|
<property name="subtitle" translatable="yes">Allow this device to be used remotely</property>
|
|
<property name="icon-name">preferences-desktop-display-symbolic</property>
|
|
<property name="show-arrow">True</property>
|
|
<property name="action-name">navigation.push</property>
|
|
<property name="action-target">'system-remote-desktop-page'</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="CcListRow">
|
|
<property name="title" translatable="yes">About</property>
|
|
<property name="subtitle" translatable="yes">Hardware details and software versions</property>
|
|
<property name="icon-name">info-symbolic</property>
|
|
<property name="show-arrow">True</property>
|
|
<property name="action-name">navigation.push</property>
|
|
<property name="action-target">'system-about-page'</property>
|
|
</object>
|
|
</child>
|
|
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</property>
|
|
|
|
</object>
|
|
</property>
|
|
</object>
|
|
</child>
|
|
|
|
<child>
|
|
<object class="CcRegionPage" id="region_page"/>
|
|
</child>
|
|
<child>
|
|
<object class="CcDateTimePage" id="datetime_page"/>
|
|
</child>
|
|
<child>
|
|
<object class="CcRemoteDesktopPage" id="remote_desktop_page"/>
|
|
</child>
|
|
<child>
|
|
<object class="CcAboutPage" id="about_page"/>
|
|
</child>
|
|
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|