aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--ChangeLog5
-rw-r--r--libempathy-gtk/empathy-contact-list-view.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 177ebbdd7..adf65efa0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
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).
+
+2007-10-01 Xavier Claessens <xclaesse@gmail.com>
+
* data/Makefile.am:
* data/empathy.desktop.in.in: Use fd.o standard location for autostart
desktop files. Fixes bug #481860 (Stephane Loeuillet).
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);