From dd3a1f3f2ce8b7b6f7c7ed02ff956ca26bc556e2 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Tue, 6 Jul 2010 14:44:10 +0200 Subject: add accept/decline buttons to FT notifications --- src/empathy-status-icon.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/empathy-status-icon.c') diff --git a/src/empathy-status-icon.c b/src/empathy-status-icon.c index 08129b61d..7b016e13e 100644 --- a/src/empathy-status-icon.c +++ b/src/empathy-status-icon.c @@ -152,6 +152,16 @@ add_notification_actions (EmpathyStatusIcon *self, self, NULL); break; + case EMPATHY_EVENT_TYPE_TRANSFER: + notify_notification_add_action (notification, + "decline", _("Decline"), (NotifyActionCallback) notification_decline_cb, + self, NULL); + + notify_notification_add_action (notification, + "accept", _("Accept"), (NotifyActionCallback) notification_approve_cb, + self, NULL); + break; + default: break; } -- cgit v1.2.3