summaryrefslogtreecommitdiff
path: root/thunar-volman
diff options
context:
space:
mode:
authorAndre Miranda <andreldm@xfce.org>2018-01-03 23:03:29 -0300
committerAndre Miranda <andreldm@xfce.org>2018-01-03 23:03:29 -0300
commitd238444b0332763f4548ca60e9d47c5a5b3cf895 (patch)
tree09aee219b8258d358007af38f0d347d04371967c /thunar-volman
parenta066fb9f3860b4a823852555991e10aa1f027275 (diff)
downloadthunar-volman-d238444b0332763f4548ca60e9d47c5a5b3cf895.tar.gz
Use transient notifications
Diffstat (limited to 'thunar-volman')
-rw-r--r--thunar-volman/tvm-notify.c2
1 files changed, 2 insertions, 0 deletions
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);