diff options
Diffstat (limited to 'panels/network/cc-network-panel.ui')
-rw-r--r-- | panels/network/cc-network-panel.ui | 180 |
1 files changed, 180 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..84735fd --- /dev/null +++ b/panels/network/cc-network-panel.ui @@ -0,0 +1,180 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 3.0 --> + <template class="CcNetworkPanel" parent="CcPanel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + + <child> + <object class="GtkScrolledWindow"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hscrollbar_policy">never</property> + <child> + <object class="GtkViewport"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="shadow_type">none</property> + <child> + <object class="HdyClamp"> + <property name="visible">True</property> + <property name="margin_top">32</property> + <property name="margin_bottom">32</property> + <property name="margin_start">12</property> + <property name="margin_end">12</property> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="spacing">12</property> + <property name="orientation">vertical</property> + <property name="valign">start</property> + + <!-- Each GtkBox below will contain GtkStacks from the NetDevices --> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="spacing">24</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkBox" id="box_wired"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <property name="spacing">24</property> + </object> + </child> + <child> + <object class="GtkBox" id="container_bluetooth"> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <property name="spacing">12</property> + + <!-- "Other Devices" header --> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="xalign">0.0</property> + <property name="label" translatable="yes">Other Devices</property> + <attributes> + <attribute name="weight" value="bold" /> + </attributes> + </object> + </child> + </object> + </child> + <child> + <object class="GtkFrame"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="GtkBox" id="box_bluetooth"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + </object> + </child> + </object> + </child> + </object> + </child> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + + <!-- VPN header --> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="xalign">0.0</property> + <property name="label" translatable="yes">VPN</property> + <attributes> + <attribute name="weight" value="bold" /> + </attributes> + </object> + </child> + <child> + <object class="GtkButton"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="relief">none</property> + <signal name="clicked" handler="create_connection_cb" object="CcNetworkPanel" swapped="no" /> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="icon_name">list-add-symbolic</property> + </object> + </child> + </object> + </child> + </object> + </child> + <child> + <object class="GtkFrame"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="GtkBox" id="box_vpn"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + + <!-- "Not set up" row --> + <child> + <object class="GtkListBox" id="empty_listbox"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="selection_mode">none</property> + <child> + <object class="HdyActionRow"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="activatable">False</property> + <property name="title" translatable="yes">Not set up</property> + </object> + </child> + </object> + </child> + </object> + </child> + </object> + </child> + </object> + </child> + <child> + <object class="GtkBox" id="box_proxy"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + </object> + </child> + </object> + </child> + </object> + </child> + </object> + </child> + </object> + </child> + </object> + </child> + </template> +</interface> |