aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-06-18 22:10:29 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-06-21 14:54:32 +0800
commit6a401905c9f98fcf821383012e71f9ea8abe0bc3 (patch)
tree5fa0b8be90df8d921f413aeff08a3e5b92c509bf /libempathy-gtk
parent7ed9fa5ef0cf9091ae3ea1b1e326440fe6d5727e (diff)
downloadgsoc2013-empathy-6a401905c9f98fcf821383012e71f9ea8abe0bc3.tar
gsoc2013-empathy-6a401905c9f98fcf821383012e71f9ea8abe0bc3.tar.gz
gsoc2013-empathy-6a401905c9f98fcf821383012e71f9ea8abe0bc3.tar.bz2
gsoc2013-empathy-6a401905c9f98fcf821383012e71f9ea8abe0bc3.tar.lz
gsoc2013-empathy-6a401905c9f98fcf821383012e71f9ea8abe0bc3.tar.xz
gsoc2013-empathy-6a401905c9f98fcf821383012e71f9ea8abe0bc3.tar.zst
gsoc2013-empathy-6a401905c9f98fcf821383012e71f9ea8abe0bc3.zip
replace empathy_contact_can_use_stream_tube by empathy_contact_can_use_rfb_stream_tube
That's the only type of tube we care about and that allows us to enable the 'Share my Desktop' option only with contacts having a tube enabled Vinagre installed (#589225).
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-contact-menu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-contact-menu.c b/libempathy-gtk/empathy-contact-menu.c
index 9ea19af32..1df51ca73 100644
--- a/libempathy-gtk/empathy-contact-menu.c
+++ b/libempathy-gtk/empathy-contact-menu.c
@@ -381,7 +381,8 @@ empathy_contact_share_my_desktop_menu_item_new (EmpathyContact *contact)
item = gtk_image_menu_item_new_with_mnemonic (_("Share My Desktop"));
image = gtk_image_new_from_icon_name (GTK_STOCK_NETWORK,
GTK_ICON_SIZE_MENU);
- gtk_widget_set_sensitive (item, empathy_contact_can_use_stream_tube (contact));
+ gtk_widget_set_sensitive (item, empathy_contact_can_use_rfb_stream_tube (
+ contact));
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), image);
gtk_widget_show (image);