aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-02-22 18:22:53 +0800
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-06-08 23:39:57 +0800
commit21a8c4b59d8d69c8b2a1ff801e15766ecf5e74cf (patch)
tree920ea415c7fe11e8fe194ecfadc528d8a0f0d05b /src
parentde4007568e730d95899f235ff06fd1590b1a3dc9 (diff)
downloadgsoc2013-empathy-21a8c4b59d8d69c8b2a1ff801e15766ecf5e74cf.tar
gsoc2013-empathy-21a8c4b59d8d69c8b2a1ff801e15766ecf5e74cf.tar.gz
gsoc2013-empathy-21a8c4b59d8d69c8b2a1ff801e15766ecf5e74cf.tar.bz2
gsoc2013-empathy-21a8c4b59d8d69c8b2a1ff801e15766ecf5e74cf.tar.lz
gsoc2013-empathy-21a8c4b59d8d69c8b2a1ff801e15766ecf5e74cf.tar.xz
gsoc2013-empathy-21a8c4b59d8d69c8b2a1ff801e15766ecf5e74cf.tar.zst
gsoc2013-empathy-21a8c4b59d8d69c8b2a1ff801e15766ecf5e74cf.zip
Show notifications for Calls
Conflicts: src/empathy-status-icon.c
Diffstat (limited to 'src')
-rw-r--r--src/empathy-notifications-approver.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/empathy-notifications-approver.c b/src/empathy-notifications-approver.c
index af6c139d2..8939ecb1d 100644
--- a/src/empathy-notifications-approver.c
+++ b/src/empathy-notifications-approver.c
@@ -186,6 +186,7 @@ add_notification_actions (EmpathyNotificationsApprover *self,
break;
case EMPATHY_EVENT_TYPE_VOIP:
+ case EMPATHY_EVENT_TYPE_CALL:
notify_notification_add_action (notification,
"reject", _("Reject"), (NotifyActionCallback) notification_decline_cb,
self, NULL);
@@ -241,6 +242,7 @@ notification_is_urgent (EmpathyNotificationsApprover *self,
switch (self->priv->event->type) {
case EMPATHY_EVENT_TYPE_CHAT:
case EMPATHY_EVENT_TYPE_VOIP:
+ case EMPATHY_EVENT_TYPE_CALL:
case EMPATHY_EVENT_TYPE_TRANSFER:
case EMPATHY_EVENT_TYPE_INVITATION:
case EMPATHY_EVENT_TYPE_AUTH:
@@ -266,6 +268,7 @@ get_category_for_event_type (EmpathyEventType type)
case EMPATHY_EVENT_TYPE_PRESENCE_OFFLINE:
return "presence.offline";
case EMPATHY_EVENT_TYPE_VOIP:
+ case EMPATHY_EVENT_TYPE_CALL:
case EMPATHY_EVENT_TYPE_TRANSFER:
case EMPATHY_EVENT_TYPE_INVITATION:
case EMPATHY_EVENT_TYPE_AUTH: