[Xfce4-commits] [xfce/thunar] 01/01: Add a small delay when dismissing notifications (Bug #14552)

noreply at xfce.org noreply at xfce.org
Tue Aug 28 04:24:56 CEST 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.

commit 27d020375719b0b4cc89348ff9d9948a411c2bdd
Author: Andre Miranda <andreldm at xfce.org>
Date:   Mon Aug 27 23:24:46 2018 -0300

    Add a small delay when dismissing notifications (Bug #14552)
---
 thunar/thunar-notify.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/thunar/thunar-notify.c b/thunar/thunar-notify.c
index 0f4f832..17e653c 100644
--- a/thunar/thunar-notify.c
+++ b/thunar/thunar-notify.c
@@ -238,7 +238,10 @@ thunar_notify_finish (ThunarDevice *device)
   notification = g_object_get_data (G_OBJECT (device), I_("thunar-notification"));
   if (notification != NULL)
     {
-      notify_notification_close (notification, NULL);
+      notify_notification_set_urgency (notification, NOTIFY_URGENCY_NORMAL);
+      notify_notification_set_timeout (notification, 2000);
+      notify_notification_show (notification, NULL);
+
       g_object_set_data (G_OBJECT (device), I_("thunar-notification"), NULL);
     }
 #endif

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


More information about the Xfce4-commits mailing list