]> git.0d.be Git - empathy.git/commitdiff
Add a #ifdef HAVE_VOIP. Fixes bug #482190 (Marco Barisione).
authorXavier Claessens <xclaesse@gmail.com>
Mon, 1 Oct 2007 14:30:33 +0000 (14:30 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Mon, 1 Oct 2007 14:30:33 +0000 (14:30 +0000)
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

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

index 177ebbdd71524fdd455b9b14ef63158e1046a526..adf65efa03012bee22042b121a98fa11ebdcfdd2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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:
index d199165a43b5d31b60bea2f255d1ac24f3ee1eee..70a2b0c0aaf033fee0d44227ddb52cf888725a8b 100644 (file)
@@ -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);