[empathy/gnome-2-28] display 'Respond' button in notifications only if built for Moblin



commit b3145a87c4749819586a8e3e3c5c6d2f9ff38a43
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Fri Oct 2 18:35:35 2009 +0100

    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 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-status-icon.c b/src/empathy-status-icon.c
index 3af060a..4ef0d82 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]