diff options
Diffstat (limited to 'panels/network/network-vpn.ui')
-rw-r--r-- | panels/network/network-vpn.ui | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/panels/network/network-vpn.ui b/panels/network/network-vpn.ui new file mode 100644 index 0000000..c0c2913 --- /dev/null +++ b/panels/network/network-vpn.ui @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 3.0 --> + <template class="NetVpn" parent="AdwActionRow"> + <property name="activatable-widget">device_off_switch</property> + <child type="suffix"> + <object class="GtkSwitch" id="device_off_switch"> + <property name="valign">center</property> + <signal name="notify::active" handler="device_off_toggled" object="NetVpn" swapped="yes"/> + <accessibility> + <property name="label" translatable="yes">Turn VPN connection off</property> + </accessibility> + </object> + </child> + <child type="suffix"> + <object class="GtkButton" id="options_button"> + <property name="valign">center</property> + <property name="icon_name">emblem-system-symbolic</property> + <signal name="clicked" handler="edit_connection" object="NetVpn" swapped="yes"/> + <accessibility> + <property name="label" translatable="yes">Options…</property> + </accessibility> + <style> + <class name="flat"/> + </style> + </object> + </child> + </template> +</interface> |