2011-03-12 14:27:22 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2010-12-02 16:03:53 +00:00
|
|
|
<interface>
|
2017-07-12 11:08:39 -03:00
|
|
|
<template class="CcNetworkPanel" parent="CcPanel">
|
2022-11-04 17:40:24 +05:30
|
|
|
<!-- Header Bar -->
|
|
|
|
<child type="titlebar">
|
2023-06-04 15:42:53 -04:00
|
|
|
<object class="AdwHeaderBar">
|
|
|
|
<property name="visible">False</property>
|
2022-11-04 17:40:24 +05:30
|
|
|
</object>
|
|
|
|
</child>
|
2017-07-16 14:55:32 -03:00
|
|
|
|
2022-01-19 13:15:26 -03:00
|
|
|
<child type="content">
|
2023-06-04 15:42:53 -04:00
|
|
|
<object class="AdwNavigationView" id="main_nav">
|
2022-01-27 14:52:21 -08:00
|
|
|
<child>
|
2023-06-04 15:42:53 -04:00
|
|
|
<object class="AdwNavigationPage">
|
|
|
|
<property name="title" translatable="yes">Network</property>
|
2022-01-27 14:52:21 -08:00
|
|
|
<child>
|
2023-06-04 15:42:53 -04:00
|
|
|
<object class="AdwToolbarView">
|
|
|
|
<property name="top-bar-style">raised</property>
|
|
|
|
<child type="top">
|
|
|
|
<object class="AdwHeaderBar">
|
|
|
|
<property name="show-end-title-buttons">True</property>
|
|
|
|
<property name="show-start-title-buttons" bind-source="CcNetworkPanel" bind-property="folded" bind-flags="default|sync-create" />
|
|
|
|
<child type="start">
|
|
|
|
<object class="GtkButton" id="back_button">
|
|
|
|
<property name="tooltip-text" translatable="yes">Back</property>
|
|
|
|
<property name="visible" bind-source="CcNetworkPanel" bind-property="folded" bind-flags="sync-create"/>
|
|
|
|
<property name="icon-name">go-previous-symbolic</property>
|
|
|
|
<property name="action-name">window.navigate</property>
|
|
|
|
<property name="action-target">0</property> <!-- ADW_NAVIGATION_DIRECTION_BACK -->
|
2017-07-16 14:55:32 -03:00
|
|
|
</object>
|
|
|
|
</child>
|
2010-12-02 16:03:53 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
2023-06-04 15:42:53 -04:00
|
|
|
<property name="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">Bluetooth</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkListBox" id="box_bluetooth">
|
|
|
|
<property name="selection_mode">none</property>
|
|
|
|
<accessibility>
|
|
|
|
<relation name="labelled-by">container_bluetooth</relation>
|
|
|
|
</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>
|
|
|
|
<accessibility>
|
|
|
|
<property name="label" translatable="yes">Add connection</property>
|
|
|
|
</accessibility>
|
|
|
|
<style>
|
|
|
|
<class name="flat" />
|
|
|
|
</style>
|
|
|
|
<signal name="clicked" handler="create_connection_cb" object="CcNetworkPanel" swapped="yes" />
|
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkStack" id="vpn_stack">
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2022-11-04 17:40:24 +05:30
|
|
|
|
2023-06-04 15:42:53 -04:00
|
|
|
<child>
|
|
|
|
<object class="AdwPreferencesGroup">
|
|
|
|
<!-- xxx: Added to avoid confusion with the preceding VPN row -->
|
|
|
|
<property name="title" translatable="yes">Proxy</property>
|
|
|
|
<child>
|
|
|
|
<object class="CcListRow" id="proxy_row">
|
|
|
|
<property name="title" translatable="yes">Proxy</property>
|
|
|
|
<property name="show-arrow">True</property>
|
|
|
|
<property name="icon-name">preferences-system-network-proxy-symbolic</property>
|
|
|
|
<property name="subtitle" bind-source="proxy_page" bind-property="state-text" bind-flags="sync-create"/>
|
|
|
|
<property name="action-name">navigation.push</property>
|
|
|
|
<property name="action-target">'proxy'</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2022-11-04 17:40:24 +05:30
|
|
|
</object>
|
2023-06-04 15:42:53 -04:00
|
|
|
</property>
|
2022-01-27 14:52:21 -08:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2022-11-04 17:40:24 +05:30
|
|
|
<child>
|
2023-06-04 15:42:53 -04:00
|
|
|
<object class="CcNetProxyPage" id="proxy_page"/>
|
2022-11-04 17:40:24 +05:30
|
|
|
</child>
|
2010-12-02 16:03:53 +00:00
|
|
|
</object>
|
2017-07-12 11:08:39 -03:00
|
|
|
</child>
|
|
|
|
</template>
|
2010-12-02 16:03:53 +00:00
|
|
|
</interface>
|