aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-status-icon.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-02-16 22:55:59 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-02-17 18:14:19 +0800
commit93f0695d387c3cb939c052848aa4c002090ddc81 (patch)
treedd4c3c1e51ee66841f426e6ce445a5621126a27c /src/empathy-status-icon.c
parenta32038569c0eec120ef9ff0c75bcc12e98fde1fa (diff)
downloadgsoc2013-empathy-93f0695d387c3cb939c052848aa4c002090ddc81.tar
gsoc2013-empathy-93f0695d387c3cb939c052848aa4c002090ddc81.tar.gz
gsoc2013-empathy-93f0695d387c3cb939c052848aa4c002090ddc81.tar.bz2
gsoc2013-empathy-93f0695d387c3cb939c052848aa4c002090ddc81.tar.lz
gsoc2013-empathy-93f0695d387c3cb939c052848aa4c002090ddc81.tar.xz
gsoc2013-empathy-93f0695d387c3cb939c052848aa4c002090ddc81.tar.zst
gsoc2013-empathy-93f0695d387c3cb939c052848aa4c002090ddc81.zip
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.
Diffstat (limited to 'src/empathy-status-icon.c')
-rw-r--r--src/empathy-status-icon.c3
1 files changed, 2 insertions, 1 deletions
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"),