summaryrefslogtreecommitdiffstats
path: root/panels/notifications/cc-app-notifications-dialog.ui
blob: c697eb16dcfbbc331a5d829104a2742ddaf7ff43 (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
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <template class="CcAppNotificationsDialog" parent="GtkDialog">
    <property name="default-width">550</property>
    <property name="default-height">450</property>
    <property name="resizable">True</property>
    <property name="modal">True</property>
    <child>
      <object class="AdwPreferencesPage">
        <child>
          <object class="AdwPreferencesGroup">
            <child>
              <object class="AdwActionRow">
                <property name="use-underline">True</property>
                <property name="title" translatable="yes" context="notifications" comments="This is the per application switch for message tray usage.">_Notifications</property>
                <property name="activatable-widget">notifications_switch</property>
                <child>
                  <object class="GtkSwitch" id="notifications_switch">
                    <property name="valign">center</property>
                    <property name="active">True</property>
                    <signal name="notify::active" handler="notifications_switch_state_set_cb" swapped="no"/>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="AdwActionRow">
                <property name="use-underline">True</property>
                <property name="title" translatable="yes" context="notifications" comments="This is the setting to configure sounds associated with notifications.">Sound _Alerts</property>
                <property name="activatable-widget">sound_alerts_switch</property>
                <child>
                  <object class="GtkSwitch" id="sound_alerts_switch">
                    <property name="valign">center</property>
                    <signal name="notify::active" handler="sound_alerts_switch_state_set_cb" swapped="no"/>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="AdwActionRow">
                <property name="use-underline">True</property>
                <property name="title" translatable="yes" context="notifications">Notification _Popups</property>
                <property name="subtitle" translatable="yes">Notifications will continue to appear in the notification list when popups are disabled.</property>
                <property name="activatable-widget">notification_banners_switch</property>
                <child>
                  <object class="GtkSwitch" id="notification_banners_switch">
                    <property name="valign">center</property>
                    <signal name="notify::active" handler="notification_banners_switch_state_set_cb" swapped="no"/>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="AdwActionRow">
                <property name="use-underline">True</property>
                <property name="title" translatable="yes" context="notifications" comments="Popups here refers to message tray notifications in the middle of the screen.">Show Message _Content in Popups</property>
                <property name="activatable-widget">notification_banners_content_switch</property>
                <child>
                  <object class="GtkSwitch" id="notification_banners_content_switch">
                    <property name="valign">center</property>
                    <signal name="notify::active" handler="notification_banners_content_switch_state_set_cb" swapped="no"/>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="AdwActionRow">
                <property name="use-underline">True</property>
                <property name="title" translatable="yes" context="notifications">_Lock Screen Notifications</property>
                <property name="activatable-widget">lock_screen_notifications_switch</property>
                <child>
                  <object class="GtkSwitch" id="lock_screen_notifications_switch">
                    <property name="valign">center</property>
                    <signal name="notify::active" handler="lock_screen_notifications_switch_state_set_cb" swapped="no"/>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="AdwActionRow">
                <property name="use-underline">True</property>
                <property name="title" translatable="yes" context="notifications">Show Message C_ontent on Lock Screen</property>
                <property name="activatable-widget">lock_screen_content_switch</property>
                <child>
                  <object class="GtkSwitch" id="lock_screen_content_switch">
                    <property name="valign">center</property>
                    <signal name="notify::active" handler="lock_screen_content_switch_state_set_cb" swapped="no"/>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>