diff options
author | Andre Miranda <andreldm@xfce.org> | 2018-01-03 23:03:29 -0300 |
---|---|---|
committer | Andre Miranda <andreldm@xfce.org> | 2018-01-03 23:03:29 -0300 |
commit | d238444b0332763f4548ca60e9d47c5a5b3cf895 (patch) | |
tree | 09aee219b8258d358007af38f0d347d04371967c /thunar-volman | |
parent | a066fb9f3860b4a823852555991e10aa1f027275 (diff) | |
download | thunar-volman-d238444b0332763f4548ca60e9d47c5a5b3cf895.tar.gz |
Use transient notifications
Diffstat (limited to 'thunar-volman')
-rw-r--r-- | thunar-volman/tvm-notify.c | 2 |
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); |