From 905c1e744eda5db8aa99777bbb556b77df67aa56 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Mon, 21 Jan 2008 06:54:28 +0000 Subject: [PATCH] Respect CALL feature when clicking on the contact list's microphone icon svn path=/trunk/; revision=588 --- libempathy-gtk/empathy-contact-list-view.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libempathy-gtk/empathy-contact-list-view.c b/libempathy-gtk/empathy-contact-list-view.c index 384e9df2..35557f10 100644 --- a/libempathy-gtk/empathy-contact-list-view.c +++ b/libempathy-gtk/empathy-contact-list-view.c @@ -1377,6 +1377,10 @@ contact_list_view_voip_activated_cb (EmpathyCellRendererActivatable *cell, 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; -- 2.39.2