[Xfce4-commits] [apps/xfce4-notifyd] 03/29: Fix logging in do not disturb mode

noreply at xfce.org noreply at xfce.org
Sun Jan 29 20:51:53 CET 2017


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

ochosi pushed a commit to branch master
in repository apps/xfce4-notifyd.

commit cb0d9734edb473722609e5d15014afbe4b8ea5c3
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Mon Oct 17 00:10:39 2016 +0200

    Fix logging in do not disturb mode
---
 xfce4-notifyd/xfce-notify-daemon.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/xfce4-notifyd/xfce-notify-daemon.c b/xfce4-notifyd/xfce-notify-daemon.c
index 9a4a555..a77d31a 100644
--- a/xfce4-notifyd/xfce-notify-daemon.c
+++ b/xfce4-notifyd/xfce-notify-daemon.c
@@ -1220,6 +1220,9 @@ notify_notify (XfceNotifyGBus *skeleton,
 
             xndaemon->close_timeout = 0;
 
+            if (xndaemon->notification_log == TRUE)
+                xfce_notify_log_insert (summary, body, app_icon, expire_timeout, actions);
+
             xfce_notify_gbus_complete_notify(skeleton, invocation, OUT_id);
             return TRUE;
         }
@@ -1318,8 +1321,6 @@ notify_notify (XfceNotifyGBus *skeleton,
     // TODO: icons need to be handled, app_icon is bad - what shall be done with image_data??
     if (xndaemon->notification_log == TRUE)
         xfce_notify_log_insert (summary, body, app_icon, expire_timeout, actions);
-    else
-        g_warning ("log deactivated");
 
     xfce_notify_window_set_icon_only(window, x_canonical);
 

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


More information about the Xfce4-commits mailing list