[Xfce4-commits] [xfce/xfce4-power-manager] 05/05: Set the transient hint for notifications
noreply at xfce.org
noreply at xfce.org
Fri Oct 27 16:32:33 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 xfce/xfce4-power-manager.
commit 68968b5270671701a68602e3b4be74b995edc661
Author: Viktor Odintsev <ninetls at xfce.org>
Date: Fri Sep 15 10:34:57 2017 +0300
Set the transient hint for notifications
---
src/xfpm-notify.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/xfpm-notify.c b/src/xfpm-notify.c
index 390ecaa..e642610 100644
--- a/src/xfpm-notify.c
+++ b/src/xfpm-notify.c
@@ -223,6 +223,7 @@ xfpm_notify_new_notification_internal (const gchar *title, const gchar *message,
n = notify_notification_new (title, message, NULL, NULL);
#endif
+ notify_notification_set_hint (n, "transient", g_variant_new_boolean (TRUE));
if ( icon_name )
xfpm_notify_set_notification_icon (n, icon_name);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list