[empathy: 13/99] Show notifications for Calls
- From: Emilio Pozuelo Monfort <epm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy: 13/99] Show notifications for Calls
- Date: Thu, 9 Jun 2011 09:50:27 +0000 (UTC)
commit 21a8c4b59d8d69c8b2a1ff801e15766ecf5e74cf
Author: Emilio Pozuelo Monfort <emilio pozuelo collabora co uk>
Date: Tue Feb 22 10:22:53 2011 +0000
Show notifications for Calls
Conflicts:
src/empathy-status-icon.c
src/empathy-notifications-approver.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-notifications-approver.c b/src/empathy-notifications-approver.c
index af6c139..8939ecb 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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]