[Xfce4-commits] [xfce/xfce4-settings] 01/01: Use transient notifications for improved logging

noreply at xfce.org noreply at xfce.org
Tue Dec 19 11:05:12 CET 2017


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

b   l   u   e   s   a   b   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/xfce4-settings.

commit 9a9fbb7133ea51ccc7737524bb57af960bbbab27
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Tue Dec 19 05:05:05 2017 -0500

    Use transient notifications for improved logging
---
 xfsettingsd/accessibility.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/xfsettingsd/accessibility.c b/xfsettingsd/accessibility.c
index 247af80..30da3ca 100644
--- a/xfsettingsd/accessibility.c
+++ b/xfsettingsd/accessibility.c
@@ -481,6 +481,9 @@ xfce_accessibility_helper_notification_show (XfceAccessibilityHelper *helper,
         helper->notification = notify_notification_new (summary, body, "keyboard", NULL);
 #endif
 
+        /* don't log notification */
+        notify_notification_set_hint (helper->notification, "transient", g_variant_new_boolean (FALSE));
+
         /* close signal */
         g_signal_connect (G_OBJECT (helper->notification), "closed", G_CALLBACK (xfce_accessibility_helper_notification_closed), helper);
     }

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


More information about the Xfce4-commits mailing list