[Xfce4-commits] [xfce/thunar-volman] 01/01: Use transient notifications

noreply at xfce.org noreply at xfce.org
Thu Jan 4 03:04:19 CET 2018


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

a   n   d   r   e       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 xfce/thunar-volman.

commit d238444b0332763f4548ca60e9d47c5a5b3cf895
Author: Andre Miranda <andreldm at xfce.org>
Date:   Wed Jan 3 23:03:29 2018 -0300

    Use transient notifications
---
 thunar-volman/tvm-notify.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/thunar-volman/tvm-notify.c b/thunar-volman/tvm-notify.c
index 4ef167d..a5ce13b 100644
--- a/thunar-volman/tvm-notify.c
+++ b/thunar-volman/tvm-notify.c
@@ -74,6 +74,8 @@ tvm_notify (const gchar *icon,
 #else
   notification = notify_notification_new (summary, message, icon, NULL);
 #endif
+  /* don't log notification (yes, the logic seems inverted but it's right) */
+  notify_notification_set_hint (notification, "transient", g_variant_new_boolean (FALSE));
   notify_notification_set_urgency (notification, NOTIFY_URGENCY_NORMAL);
   notify_notification_set_timeout (notification, NOTIFY_EXPIRES_DEFAULT);
   notify_notification_show (notification, NULL);

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


More information about the Xfce4-commits mailing list