aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2007-10-01 22:30:33 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-10-01 22:30:33 +0800
commit5e407181b4d13bc413fe5bea35caa757a96d58d6 (patch)
tree111ce0b3183c0a5aad577134f725e1bc8affeee4 /libempathy-gtk
parent0342aa07cb8e148b4c606143c6455eceb11b19b1 (diff)
downloadgsoc2013-empathy-5e407181b4d13bc413fe5bea35caa757a96d58d6.tar
gsoc2013-empathy-5e407181b4d13bc413fe5bea35caa757a96d58d6.tar.gz
gsoc2013-empathy-5e407181b4d13bc413fe5bea35caa757a96d58d6.tar.bz2
gsoc2013-empathy-5e407181b4d13bc413fe5bea35caa757a96d58d6.tar.lz
gsoc2013-empathy-5e407181b4d13bc413fe5bea35caa757a96d58d6.tar.xz
gsoc2013-empathy-5e407181b4d13bc413fe5bea35caa757a96d58d6.tar.zst
gsoc2013-empathy-5e407181b4d13bc413fe5bea35caa757a96d58d6.zip
Add a #ifdef HAVE_VOIP. Fixes bug #482190 (Marco Barisione).
2007-10-01 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-contact-list-view.c: Add a #ifdef HAVE_VOIP. Fixes bug #482190 (Marco Barisione). svn path=/trunk/; revision=356
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-contact-list-view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-contact-list-view.c b/libempathy-gtk/empathy-contact-list-view.c
index d199165a4..70a2b0c0a 100644
--- a/libempathy-gtk/empathy-contact-list-view.c
+++ b/libempathy-gtk/empathy-contact-list-view.c
@@ -1220,8 +1220,10 @@ contact_list_view_get_contact_menu (EmpathyContactListView *view,
action = gtk_ui_manager_get_action (priv->ui, "/Contact/Log");
gtk_action_set_sensitive (action, can_show_log);
+#ifdef HAVE_VOIP
action = gtk_ui_manager_get_action (priv->ui, "/Contact/Call");
gtk_action_set_sensitive (action, can_voip);
+#endif
action = gtk_ui_manager_get_action (priv->ui, "/Contact/SendFile");
gtk_action_set_visible (action, can_send_file);