aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-11-22 00:15:58 +0800
committerxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-11-22 00:15:58 +0800
commit4b6b4c0c48149c437188d14ff99910607443e70b (patch)
tree5ea5aed1933cf96055b597ee2e165be836e649c5 /libempathy-gtk
parent1814d2e22cf977c6533d076a2663bdae07af37de (diff)
downloadgsoc2013-empathy-4b6b4c0c48149c437188d14ff99910607443e70b.tar
gsoc2013-empathy-4b6b4c0c48149c437188d14ff99910607443e70b.tar.gz
gsoc2013-empathy-4b6b4c0c48149c437188d14ff99910607443e70b.tar.bz2
gsoc2013-empathy-4b6b4c0c48149c437188d14ff99910607443e70b.tar.lz
gsoc2013-empathy-4b6b4c0c48149c437188d14ff99910607443e70b.tar.xz
gsoc2013-empathy-4b6b4c0c48149c437188d14ff99910607443e70b.tar.zst
gsoc2013-empathy-4b6b4c0c48149c437188d14ff99910607443e70b.zip
Only display "Send Files" if the contact is in Salut. (Jonny Lamb)
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@1771 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-contact-menu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-contact-menu.c b/libempathy-gtk/empathy-contact-menu.c
index dc004bea3..fffa975a4 100644
--- a/libempathy-gtk/empathy-contact-menu.c
+++ b/libempathy-gtk/empathy-contact-menu.c
@@ -209,6 +209,7 @@ empathy_contact_file_transfer_menu_item_new (EmpathyContact *contact)
item = gtk_image_menu_item_new_with_mnemonic (_("Send file"));
image = gtk_image_new_from_icon_name (EMPATHY_IMAGE_DOCUMENT_SEND,
GTK_ICON_SIZE_MENU);
+ gtk_widget_set_sensitive (item, empathy_contact_can_send_files (contact));
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), image);
gtk_widget_show (image);