empathy r588 - trunk/libempathy-gtk



Author: xclaesse
Date: Mon Jan 21 06:54:28 2008
New Revision: 588
URL: http://svn.gnome.org/viewvc/empathy?rev=588&view=rev

Log:
Respect CALL feature when clicking on the contact list's microphone icon


Modified:
   trunk/libempathy-gtk/empathy-contact-list-view.c

Modified: trunk/libempathy-gtk/empathy-contact-list-view.c
==============================================================================
--- trunk/libempathy-gtk/empathy-contact-list-view.c	(original)
+++ trunk/libempathy-gtk/empathy-contact-list-view.c	Mon Jan 21 06:54:28 2008
@@ -1377,6 +1377,10 @@
 	GtkTreeIter                 iter;
 	EmpathyContact             *contact;
 
+	if (!(priv->features & EMPATHY_CONTACT_LIST_FEATURE_CONTACT_CALL)) {
+		return;
+	}
+
 	model = gtk_tree_view_get_model (GTK_TREE_VIEW (view));
 	if (!gtk_tree_model_get_iter_from_string (model, &iter, path_string)) {
 		return;



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