Now About Social Code
aboutsummaryrefslogtreecommitdiff
path: root/src/gtk/preferences.ui
blob: 5823d2fa1e90c6d8fa3a44566b4d1a2a8486c22b (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
<?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">Connection</property>
            <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>
            <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>
      </object>
    </child>
  </template>
</interface>