From b3145a87c4749819586a8e3e3c5c6d2f9ff38a43 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 2 Oct 2009 18:35:35 +0100 Subject: 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. --- src/empathy-status-icon.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/empathy-status-icon.c') 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); -- cgit v1.2.3