diff options
author | Rahix <rahix@rahix.de> | 2018-02-17 21:45:44 +0100 |
---|---|---|
committer | Rahix <rahix@rahix.de> | 2018-02-17 21:51:02 +0100 |
commit | 08c8b9c6d63784f3db1fa3423e629db3ca461b94 (patch) | |
tree | a2a2cc5667e3c10f5d4f5314c253fba2e0b335c6 /main/data | |
parent | 5436d716c0f508eb8ab70f322da862f996ce421e (diff) | |
download | dino-08c8b9c6d63784f3db1fa3423e629db3ca461b94.tar.gz dino-08c8b9c6d63784f3db1fa3423e629db3ca461b94.zip |
Implement notification sounds
Add a new setting to toggle notification sounds on or off. Plays the
systems default instant messaging message sound (message-new-instant)
whenever a notification is shown if toggled on.
Diffstat (limited to 'main/data')
-rw-r--r-- | main/data/settings_dialog.ui | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/main/data/settings_dialog.ui b/main/data/settings_dialog.ui index 9d18bdc7..861d8b74 100644 --- a/main/data/settings_dialog.ui +++ b/main/data/settings_dialog.ui @@ -54,13 +54,25 @@ </packing> </child> <child> + <object class="GtkCheckButton" id="sound_checkbutton"> + <property name="label" translatable="yes">Play a sound when a new message arrives</property> + <property name="visible">True</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">3</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> <object class="GtkCheckButton" id="emoji_checkbutton"> <property name="label" translatable="yes">Convert smileys to emojis</property> <property name="visible">True</property> </object> <packing> <property name="left_attach">0</property> - <property name="top_attach">3</property> + <property name="top_attach">4</property> <property name="width">1</property> <property name="height">1</property> </packing> |