aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-01-21 14:54:28 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-01-21 14:54:28 +0800
commit905c1e744eda5db8aa99777bbb556b77df67aa56 (patch)
tree075409c890fa3d92e6ce45866a28ece9ac5cd926 /libempathy-gtk
parent1b7904f4d6c5c49ffc0b32ff76032f83718a606b (diff)
downloadgsoc2013-empathy-905c1e744eda5db8aa99777bbb556b77df67aa56.tar
gsoc2013-empathy-905c1e744eda5db8aa99777bbb556b77df67aa56.tar.gz
gsoc2013-empathy-905c1e744eda5db8aa99777bbb556b77df67aa56.tar.bz2
gsoc2013-empathy-905c1e744eda5db8aa99777bbb556b77df67aa56.tar.lz
gsoc2013-empathy-905c1e744eda5db8aa99777bbb556b77df67aa56.tar.xz
gsoc2013-empathy-905c1e744eda5db8aa99777bbb556b77df67aa56.tar.zst
gsoc2013-empathy-905c1e744eda5db8aa99777bbb556b77df67aa56.zip
Respect CALL feature when clicking on the contact list's microphone icon
svn path=/trunk/; revision=588
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-contact-list-view.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-contact-list-view.c b/libempathy-gtk/empathy-contact-list-view.c
index 384e9df27..35557f10d 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;