2015-01-16 11:50:48 +01:00
<?xml version="1.0" encoding="UTF-8"?>
<interface>
2023-07-30 21:33:20 +04:00
<template class="CcAppNotificationsDialog" parent="AdwWindow">
2022-01-21 12:10:48 -03:00
<property name="default-width">550</property>
2022-02-08 21:48:44 -08:00
<property name="default-height">450</property>
<property name="resizable">True</property>
2015-01-16 11:50:48 +01:00
<property name="modal">True</property>
2023-07-30 21:33:20 +04:00
<property name="content">
<object class="AdwToolbarView">
<child type="top">
<object class="AdwHeaderBar"/>
</child>
<property name="content">
<object class="AdwPreferencesPage">
2015-01-16 11:50:48 +01:00
<child>
2023-07-30 21:33:20 +04:00
<object class="AdwPreferencesGroup">
2015-01-16 11:50:48 +01:00
<child>
2023-07-30 21:33:20 +04:00
<object class="AdwActionRow">
<property name="use-underline">True</property>
<property name="title" translatable="yes" context="notifications" comments="This is the per app 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" object="CcAppNotificationsDialog" swapped="yes"/>
</object>
</child>
2015-01-16 11:50:48 +01:00
</object>
</child>
<child>
2023-07-30 21:33:20 +04:00
<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" object="CcAppNotificationsDialog" swapped="yes"/>
</object>
</child>
2015-01-16 11:50:48 +01:00
</object>
</child>
<child>
2023-07-30 21:33:20 +04:00
<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" object="CcAppNotificationsDialog" swapped="yes"/>
</object>
</child>
2015-01-16 11:50:48 +01:00
</object>
</child>
<child>
2023-07-30 21:33:20 +04:00
<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" object="CcAppNotificationsDialog" swapped="yes"/>
</object>
</child>
2015-01-16 11:50:48 +01:00
</object>
</child>
<child>
2023-07-30 21:33:20 +04:00
<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" object="CcAppNotificationsDialog" swapped="yes"/>
</object>
</child>
2015-01-16 11:50:48 +01:00
</object>
</child>
<child>
2023-07-30 21:33:20 +04:00
<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" object="CcAppNotificationsDialog" swapped="yes"/>
</object>
</child>
2015-01-16 11:50:48 +01:00
</object>
</child>
</object>
</child>
</object>
2023-07-30 21:33:20 +04:00
</property>
2015-01-16 11:50:48 +01:00
</object>
2023-07-30 21:33:20 +04:00
</property>
2018-06-28 12:14:55 +12:00
</template>
2015-01-16 11:50:48 +01:00
</interface>