Allow brief notifications

This change allows certain notifications to be displayed only briefly. The new DConf key brief-notification-duration is the number of seconds for which brief notifications should be displayed.

At the moment the only brief notifications are "Message sent", "Conversation archived" and "Message archived".

Closes #602
This commit is contained in:
Adam Dingle 2020-01-19 15:26:21 +01:00
parent bc4f208d36
commit 02c65476ea
7 changed files with 36 additions and 4 deletions

View file

@ -128,6 +128,13 @@
email. Set to zero or less to disable.</description>
</key>
<key name="brief-notification-duration" type="i">
<default>5</default>
<summary>Brief notification display time</summary>
<description>The length of time in seconds for which brief notifications should
be displayed.</description>
</key>
<key name="migrated-config" type="b">
<default>false</default>
<summary>Whether we migrated the old settings</summary>