summaryrefslogtreecommitdiffstats
path: root/panels/network/connection-editor/connection-editor.ui
blob: 18031e8ac9b7e9dea775892ca61f808861ef58ec (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
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <!-- interface-requires gtk+ 3.0 -->
  <template class="NetConnectionEditor" parent="GtkDialog">
    <property name="resizable">False</property>
    <property name="modal">True</property>
    <property name="default_width">500</property>
    <property name="default_height">600</property>
    <!-- This doesn't seem to work for a template, so it is also hardcoded. -->
    <property name="use_header_bar">1</property>
    <signal name="close-request" handler="close_request_cb" swapped="yes"/>
    <child type="action">
      <object class="GtkButton" id="cancel_button">
        <property name="label" translatable="yes">_Cancel</property>
        <property name="use_underline">True</property>
        <signal name="clicked" handler="cancel_clicked_cb" object="NetConnectionEditor" swapped="yes"/>
      </object>
    </child>
    <child type="action">
      <object class="GtkButton" id="apply_button">
        <property name="label" translatable="yes">_Apply</property>
        <property name="use_underline">True</property>
        <signal name="clicked" handler="apply_clicked_cb" object="NetConnectionEditor" swapped="yes"/>
      </object>
    </child>
    <child>
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <property name="spacing">0</property>
        <child>
          <object class="GtkStack" id="toplevel_stack">
            <property name="hexpand">True</property>
            <property name="vexpand">True</property>
            <child>
              <object class="GtkSpinner" id="spinner">
                <property name="halign">center</property>
                <property name="valign">center</property>
                <property name="spinning">True</property>
              </object>
            </child>
            <child>
              <object class="GtkNotebook" id="notebook">
                <property name="show_border">False</property>
              </object>
            </child>
            <child>
              <object class="GtkBox" id="add_connection_box">
                <property name="vexpand">True</property>
                <child>
                  <object class="GtkBox">
                    <property name="hexpand">True</property>
                    <property name="vexpand">True</property>
                    <property name="orientation">vertical</property>
                    <child>
                      <object class="AdwBin" id="add_connection_frame">
                        <property name="hexpand">True</property>
                        <property name="vexpand">True</property>
                        <property name="width_request">300</property>
                        <property name="valign">start</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <action-widgets>
      <action-widget response="cancel">cancel_button</action-widget>
      <action-widget response="apply" default="true">apply_button</action-widget>
    </action-widgets>
  </template>
</interface>