summaryrefslogtreecommitdiff
path: root/panels/network/network-bluetooth.ui
blob: 14ec590fc0f5576930752bbd0cbd7904cc49a45d (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <!-- interface-requires gtk+ 3.0 -->
  <template class="NetDeviceBluetooth" parent="GtkBox">
    <property name="orientation">vertical</property>
    <child>
      <object class="GtkSeparator" id="separator">
        <property name="orientation">horizontal</property>
      </object>
    </child>
    <child>
      <object class="GtkListBox">
        <property name="selection_mode">none</property>
        <child>
          <object class="GtkListBoxRow">
            <property name="activatable">False</property>
            <child>
              <object class="GtkBox">
                <property name="margin_top">8</property>
                <property name="margin_bottom">8</property>
                <property name="margin_start">12</property>
                <property name="margin_end">12</property>
                <property name="spacing">12</property>
                <child>
                  <object class="GtkLabel" id="device_label">
                    <property name="hexpand">True</property>
                    <property name="xalign">0.0</property>
                    <property name="label" translatable="yes">Wired</property>
                    <property name="ellipsize">end</property>
                  </object>
                </child>
                <child>
                  <object class="GtkSwitch" id="device_off_switch">
                    <property name="valign">center</property>
                    <signal name="notify::active" handler="device_off_switch_changed_cb" object="NetDeviceBluetooth" swapped="yes"/>
                    <accessibility>
                      <property name="label" translatable="yes">Turn device off</property>
                    </accessibility>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="options_button">
                    <property name="valign">center</property>
                    <property name="use_underline">True</property>
                    <signal name="clicked" handler="options_button_clicked_cb" object="NetDeviceBluetooth" swapped="yes"/>
                    <style>
                      <class name="image-button"/>
                    </style>
                    <child>
                      <object class="GtkImage">
                        <property name="icon_name">emblem-system-symbolic</property>
                        <property name="icon_size">1</property>
                      </object>
                    </child>
                    <accessibility>
                      <property name="label" translatable="yes">Options…</property>
                    </accessibility>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>