]> git.0d.be Git - empathy.git/commitdiff
Respect CALL feature when clicking on the contact list's microphone icon
authorXavier Claessens <xclaesse@src.gnome.org>
Mon, 21 Jan 2008 06:54:28 +0000 (06:54 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Mon, 21 Jan 2008 06:54:28 +0000 (06:54 +0000)
svn path=/trunk/; revision=588

libempathy-gtk/empathy-contact-list-view.c

index 384e9df2732525570d13e51cba33efcc004f7ab1..35557f10de25bafcbc07492b6506029ba7879d40 100644 (file)
@@ -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;