discomfitor pushed a commit to branch master.

commit f45e418158b3222c19c7b7e05aeeeaaa78be5851
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Apr 26 08:53:16 2013 +0100

    default notification urgency to normal to ensure that notifications are 
displayed when they do not explicitly set the urgency hint
---
 src/bin/e_notification.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_notification.c b/src/bin/e_notification.c
index 8626008..43589be 100644
--- a/src/bin/e_notification.c
+++ b/src/bin/e_notification.c
@@ -80,7 +80,7 @@ notify_cb(const Eldbus_Service_Interface *iface EINA_UNUSED, 
const Eldbus_Messag
      return NULL;
 
    n = E_OBJECT_ALLOC(E_Notification_Notify, E_NOTIFICATION_TYPE, 
_notification_free);
-
+   n->urgency = E_NOTIFICATION_NOTIFY_URGENCY_NORMAL;
    if (!eldbus_message_arguments_get(msg, "susssasa{sv}i", &n->app_name,
                                     &n->replaces_id, &n->icon.icon, &n->sumary,
                                     &n->body, &actions_iter, &hints_iter,

-- 

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr

Reply via email to