diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-10-03 01:35:35 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-10-03 01:35:38 +0800 |
commit | b3145a87c4749819586a8e3e3c5c6d2f9ff38a43 (patch) | |
tree | d449bec39eb2e9a080bac72ff90f38c917b2c8c7 | |
parent | 6433791a724cd0370b3a065188e4e605b09a29d6 (diff) | |
download | gsoc2013-empathy-b3145a87c4749819586a8e3e3c5c6d2f9ff38a43.tar gsoc2013-empathy-b3145a87c4749819586a8e3e3c5c6d2f9ff38a43.tar.gz gsoc2013-empathy-b3145a87c4749819586a8e3e3c5c6d2f9ff38a43.tar.bz2 gsoc2013-empathy-b3145a87c4749819586a8e3e3c5c6d2f9ff38a43.tar.lz gsoc2013-empathy-b3145a87c4749819586a8e3e3c5c6d2f9ff38a43.tar.xz gsoc2013-empathy-b3145a87c4749819586a8e3e3c5c6d2f9ff38a43.tar.zst gsoc2013-empathy-b3145a87c4749819586a8e3e3c5c6d2f9ff38a43.zip |
display 'Respond' button in notifications only if built for Moblin
We don't want to have this feature on the desktop until it's properly integrated
(#597124) which will be for 2.30.
-rw-r--r-- | src/empathy-status-icon.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/empathy-status-icon.c b/src/empathy-status-icon.c index 3af060acf..4ef0d8294 100644 --- a/src/empathy-status-icon.c +++ b/src/empathy-status-icon.c @@ -169,6 +169,7 @@ status_icon_update_notification (EmpathyStatusIcon *icon) notify_notification_set_timeout (priv->notification, NOTIFY_EXPIRES_DEFAULT); +#ifdef HAVE_NBTK if (priv->notify_supports_actions) { notify_notification_add_action (priv->notification, "respond", @@ -177,6 +178,7 @@ status_icon_update_notification (EmpathyStatusIcon *icon) icon, NULL); } +#endif g_signal_connect (priv->notification, "closed", G_CALLBACK (status_icon_notification_closed_cb), icon); |