aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-07-06 20:44:10 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-07-07 16:03:37 +0800
commitdd3a1f3f2ce8b7b6f7c7ed02ff956ca26bc556e2 (patch)
treed2d77c9472b9b643825435384cb8144b43678872 /src
parentf589f32173b109b4bf8ade5710ff7a8a11f9b939 (diff)
downloadgsoc2013-empathy-dd3a1f3f2ce8b7b6f7c7ed02ff956ca26bc556e2.tar
gsoc2013-empathy-dd3a1f3f2ce8b7b6f7c7ed02ff956ca26bc556e2.tar.gz
gsoc2013-empathy-dd3a1f3f2ce8b7b6f7c7ed02ff956ca26bc556e2.tar.bz2
gsoc2013-empathy-dd3a1f3f2ce8b7b6f7c7ed02ff956ca26bc556e2.tar.lz
gsoc2013-empathy-dd3a1f3f2ce8b7b6f7c7ed02ff956ca26bc556e2.tar.xz
gsoc2013-empathy-dd3a1f3f2ce8b7b6f7c7ed02ff956ca26bc556e2.tar.zst
gsoc2013-empathy-dd3a1f3f2ce8b7b6f7c7ed02ff956ca26bc556e2.zip
add accept/decline buttons to FT notifications
Diffstat (limited to 'src')
-rw-r--r--src/empathy-status-icon.c10
1 files changed, 10 insertions, 0 deletions
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;
}