discomfitor pushed a commit to branch enlightenment-0.22.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=7b55e20acec2232b0833b044ef608b585d06d66e

commit 7b55e20acec2232b0833b044ef608b585d06d66e
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
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 1c09e0396..85a2aa13b 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