summaryrefslogtreecommitdiffstats
path: root/panels/network/cc-network-panel.ui
diff options
context:
space:
mode:
Diffstat (limited to 'panels/network/cc-network-panel.ui')
-rw-r--r--panels/network/cc-network-panel.ui94
1 files changed, 94 insertions, 0 deletions
diff --git a/panels/network/cc-network-panel.ui b/panels/network/cc-network-panel.ui
new file mode 100644
index 0000000..1ae1009
--- /dev/null
+++ b/panels/network/cc-network-panel.ui
@@ -0,0 +1,94 @@
+<?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>
+ <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="no" />
+ </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>
+ <child>
+ <object class="AdwPreferencesGroup">
+ <child>
+ <object class="GtkBox" id="box_proxy">
+ <property name="orientation">vertical</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ </template>
+</interface>