summaryrefslogtreecommitdiffstats
path: root/panels/network/network-vpn.ui
blob: c0c2913b094367c08006b9208d8641089fcba1dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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>