summaryrefslogtreecommitdiffstats
path: root/panels/network/cc-network-panel.ui
blob: 1ae10093e412a3ede8915b606fa59c08409afb28 (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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
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>