From 93f0695d387c3cb939c052848aa4c002090ddc81 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Tue, 16 Feb 2010 14:55:59 +0000 Subject: Don't display the 'respond' button in presence notifications (#610032) This button doesn't make anything as this event is not activatable. Plan is to display better button at some point (see bug 597124) but for now let's remove this button when it's useless. --- src/empathy-status-icon.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/empathy-status-icon.c b/src/empathy-status-icon.c index 2dabc5446..d0cdac314 100644 --- a/src/empathy-status-icon.c +++ b/src/empathy-status-icon.c @@ -169,7 +169,8 @@ status_icon_update_notification (EmpathyStatusIcon *icon) NOTIFY_EXPIRES_DEFAULT); if (empathy_notify_manager_has_capability (priv->notify_mgr, - EMPATHY_NOTIFY_MANAGER_CAP_ACTIONS)) { + EMPATHY_NOTIFY_MANAGER_CAP_ACTIONS) && + priv->event->type != EMPATHY_EVENT_TYPE_PRESENCE) { notify_notification_add_action (priv->notification, "respond", _("Respond"), -- cgit v1.2.3