[Xfce4-commits] [apps/xfce4-volumed-pulse] 01/01: Set the transient hint on audio notifications

noreply at xfce.org noreply at xfce.org
Wed Aug 16 13:56:46 CEST 2017


This is an automated email from the git hooks/post-receive script.

o   c   h   o   s   i       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-volumed-pulse.

commit 468c3a748c6dfa306b232421d95e942047c101e3
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Wed Aug 16 13:49:11 2017 +0200

    Set the transient hint on audio notifications
    
    This means that the audio notifications are not logged by daemons with
    the persistence feature as described in the fd.org notification spec.
---
 src/xvd_notify.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/xvd_notify.c b/src/xvd_notify.c
index b08cad5..78c4367 100644
--- a/src/xvd_notify.c
+++ b/src/xvd_notify.c
@@ -55,6 +55,7 @@ xvd_notify_notification(XvdInstance *Inst,
 
 	g_free (title);
 
+	notify_notification_set_hint (Inst->notification, "transient", g_variant_new_boolean (TRUE));
 	if (Inst->gauge_notifications) {
 		notify_notification_set_hint_int32 (Inst->notification,
 							"value",
@@ -118,6 +119,7 @@ xvd_notify_mic_notification(XvdInstance *Inst)
 
 	g_free (title);
 
+	notify_notification_set_hint (Inst->notification, "transient", g_variant_new_boolean (TRUE));
 	if (Inst->gauge_notifications) {
 		notify_notification_set_hint_int32 (Inst->notification_mic,
 							 LAYOUT_ICON_ONLY,

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list