Uses AdwPreferences{Page,Group} where possible. net-device-ethernet has been changed into an AdwPreferencesGroup subclass itself.
91 lines
3.4 KiB
XML
91 lines
3.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<template class="CcNetworkPanel" parent="CcPanel">
|
|
|
|
<child type="content">
|
|
<object class="AdwPreferencesPage">
|
|
<!-- Each group below will contain GtkStacks from the NetDevices -->
|
|
<child>
|
|
<object class="AdwPreferencesGroup">
|
|
<child>
|
|
<object class="GtkBox" id="box_wired">
|
|
<property name="orientation">vertical</property>
|
|
<property name="spacing">24</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="AdwPreferencesGroup" id="container_bluetooth">
|
|
<property name="visible">False</property>
|
|
<property name="title" translatable="yes">Other Devices</property>
|
|
<child>
|
|
<object class="GtkListBox" id="box_bluetooth">
|
|
<property name="selection_mode">none</property>
|
|
<accessibility>
|
|
<property name="label" translatable="yes">Other Devices</property>
|
|
</accessibility>
|
|
<style>
|
|
<class name="boxed-list" />
|
|
</style>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="AdwPreferencesGRoup">
|
|
<property name="title" translatable="yes">VPN</property>
|
|
<property name="header-suffix">
|
|
<object class="GtkButton">
|
|
<property name="icon_name">list-add-symbolic</property>
|
|
<style>
|
|
<class name="flat" />
|
|
</style>
|
|
<signal name="clicked" handler="create_connection_cb" object="CcNetworkPanel" swapped="no" />
|
|
</object>
|
|
</property>
|
|
<child>
|
|
<object class="GtkStack" id="vpn_stack">
|
|
<child>
|
|
<object class="GtkListBox" id="box_vpn">
|
|
<property name="selection_mode">none</property>
|
|
<accessibility>
|
|
<property name="label" translatable="yes">VPN</property>
|
|
</accessibility>
|
|
<style>
|
|
<class name="boxed-list" />
|
|
</style>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<!-- "Not set up" row -->
|
|
<object class="GtkListBox" id="empty_listbox">
|
|
<property name="selection_mode">none</property>
|
|
<style>
|
|
<class name="boxed-list" />
|
|
</style>
|
|
<child>
|
|
<object class="AdwActionRow">
|
|
<property name="activatable">False</property>
|
|
<property name="title" translatable="yes">Not set up</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="AdwPreferencesGroup">
|
|
<child>
|
|
<object class="GtkBox" id="box_proxy">
|
|
<property name="orientation">vertical</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|