discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=6f9b14b8ee43a92338dbfcc536e044d35766975e

commit 6f9b14b8ee43a92338dbfcc536e044d35766975e
Author: Mike Blumenkrantz <[email protected]>
Date:   Mon Jan 22 16:52:00 2018 -0500

    print notifications to stderr if a notification handler doesn't exist
---
 src/bin/e_notification.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_notification.c b/src/bin/e_notification.c
index 60377ae73..b185f395b 100644
--- a/src/bin/e_notification.c
+++ b/src/bin/e_notification.c
@@ -561,7 +561,10 @@ e_notification_client_send(E_Notification_Notify *notify, 
E_Notification_Client_
    normalize_notify(notify);
 
    if (!n_data)
-     return notification_client_dbus_send(notify, cb, data);
+     {
+        fprintf(stderr, "UNHANDLED NOTIFICATION:\nSummary: %s\nBody: %s\n", 
notify->summary, notify->body);
+        return notification_client_dbus_send(notify, cb, data);
+     }
 
    //local
    copy = malloc(sizeof(E_Notification_Notify));

-- 


Reply via email to