Now About Social Code
aboutsummaryrefslogtreecommitdiff
path: root/src/gtk/preferences.ui
blob: 77f3c14d9e6844f714f395c6a2699bb6f1b46fcd (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
95
96
97
98
99
100
101
102
103
104
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk" version="4.0"/>
  <requires lib="libadwaita" version="1.0"/>
  <template class="WeegtkPreferences" parent="AdwPreferencesDialog">
    <property name="content-height">1000</property>
    <property name="search-enabled">True</property>
    <signal name="closed" handler="preferences_closed"/>
    <child>
      <object class="AdwPreferencesPage">
        <property name="icon_name">preferences-window-layout-symbolic</property>
        <property name="title">Settings</property>
        <property name="use-underline">True</property>
        <child>
          <object class="AdwPreferencesGroup">
            <property name="title" translatable="yes">Relay Connection</property>
            <child>
              <object class="AdwSwitchRow" id="autoconnect">
                <property name="title" translatable="yes">Autoconnect</property>
              </object>
            </child>
            <child>
              <object class="AdwEntryRow" id="hostname">
                <property name="title" translatable="yes">Hostname</property>
                <property name="use_underline">True</property>
              </object>
            </child>
            <child>
              <object class="AdwEntryRow" id="port">
                <property name="title" translatable="yes">Port</property>
                <property name="use_underline">True</property>
              </object>
            </child>
            <child>
              <object class="AdwPasswordEntryRow" id="password">
                <property name="title" translatable="yes">Password</property>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="AdwPreferencesGroup">
            <property name="title" translatable="yes">SSH Connection</property>
            <child>
              <object class="AdwEntryRow" id="ssh_host">
                <property name="title" translatable="yes">SSH host</property>
                <property name="use_underline">True</property>
              </object>
            </child>
            <child>
              <object class="AdwEntryRow" id="ssh_port">
                <property name="title" translatable="yes">SSH port</property>
                <property name="use_underline">True</property>
              </object>
            </child>
            <child>
              <object class="AdwEntryRow" id="ssh_username">
                <property name="title" translatable="yes">SSH username</property>
                <property name="use_underline">True</property>
              </object>
            </child>
            <child>
              <object class="AdwActionRow">
                <property name="title" translatable="yes">SSH key</property>
                <child>
                  <object class="GtkButton">
                    <property name="valign">center</property>
                    <property name="action-name">ssh_key.open</property>
                    <child>
                      <object class="GtkBox">
                        <property name="spacing">6</property>
                        <child>
                          <object class="GtkImage">
                            <property name="icon-name">document-open-symbolic</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkLabel" id="ssh_key_label">
                            <property name="ellipsize">middle</property>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="AdwPreferencesGroup">
            <property name="title" translatable="yes">Upload</property>
            <child>
              <object class="AdwEntryRow" id="upload_url">
                <property name="title" translatable="yes">Upload URL</property>
                <property name="use_underline">True</property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>