aboutsummaryrefslogtreecommitdiff
path: root/main/data/preferences_window_general.ui
blob: 33d1a2c91663ea83021b2facee0bb1d05c1ed558 (plain) (blame)
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
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk" version="4.0"/>
  <template class="DinoUiGeneralPreferencesPage" parent="AdwPreferencesPage">
    <child>
      <object class="AdwPreferencesGroup">
        <child>
          <object class="AdwActionRow">
            <property name="title" translatable="yes">Send _Typing Notifications</property>
            <property name="use-underline">True</property>
            <property name="activatable-widget">typing_switch</property>
            <child type="suffix">
              <object class="GtkSwitch" id="typing_switch">
<!--                <property name="active" bind-source="DinoUiGeneralPreferencesPage" bind-property="send-typing" bind-flags="sync-create|bidirectional" />-->
                <property name="valign">center</property>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="AdwActionRow">
            <property name="title" translatable="yes">Send _Read Receipts</property>
            <property name="use-underline">True</property>
            <property name="activatable-widget">marker_switch</property>
            <child type="suffix">
              <object class="GtkSwitch" id="marker_switch">
                <property name="valign">center</property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child>
      <object class="AdwPreferencesGroup">
        <child>
          <object class="AdwActionRow">
            <property name="title" translatable="yes">_Notifications</property>
            <property name="subtitle" translatable="yes">Notify when a new message arrives</property>
            <property name="use-underline">True</property>
            <property name="activatable-widget">notification_switch</property>
            <child type="suffix">
              <object class="GtkSwitch" id="notification_switch">
                <property name="valign">center</property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child>
      <object class="AdwPreferencesGroup">
        <child>
          <object class="AdwActionRow">
            <property name="title" translatable="yes">_Convert Smileys to Emoji</property>
            <property name="use-underline">True</property>
            <property name="activatable-widget">emoji_switch</property>
            <child type="suffix">
              <object class="GtkSwitch" id="emoji_switch">
                <property name="valign">center</property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>