[Xfce4-commits] [panel-plugins/xfce4-pulseaudio-plugin] 01/01: Set the transient hint for volume and mic notifications

noreply at xfce.org noreply at xfce.org
Sun Aug 27 20:20:51 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 panel-plugins/xfce4-pulseaudio-plugin.

commit b1cc928f662c388f73f22ab6815e490a72e65148
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Sun Aug 27 20:19:48 2017 +0200

    Set the transient hint for volume and mic notifications
    
    Without this flag all volume/mic related notifications end up in
    notification servers' log/persistence feature.
---
 panel-plugin/pulseaudio-notify.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/panel-plugin/pulseaudio-notify.c b/panel-plugin/pulseaudio-notify.c
index 8443e90..31345e8 100644
--- a/panel-plugin/pulseaudio-notify.c
+++ b/panel-plugin/pulseaudio-notify.c
@@ -139,8 +139,10 @@ pulseaudio_notify_init (PulseaudioNotify *notify)
     }
   notify->notification = notify_notification_new ("xfce4-pulseaudio-plugin", NULL, NULL);
   notify_notification_set_timeout (notify->notification, 2000);
+  notify_notification_set_hint (notify->notification, "transient", g_variant_new_boolean (TRUE));
   notify->notification_mic = notify_notification_new ("xfce4-pulseaudio-plugin", NULL, NULL);
   notify_notification_set_timeout (notify->notification_mic, 2000);
+  notify_notification_set_hint (notify->notification_mic, "transient", g_variant_new_boolean (TRUE));
 }
 
 

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


More information about the Xfce4-commits mailing list