diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2008-11-22 00:15:58 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-11-22 00:15:58 +0800 |
commit | 8c016f6793e80f7044c0d156171306a9bdabb38d (patch) | |
tree | 5ea5aed1933cf96055b597ee2e165be836e649c5 /libempathy-gtk | |
parent | 0483582ca09b1999059fcb42904f7331f4e371ab (diff) | |
download | gsoc2013-empathy-8c016f6793e80f7044c0d156171306a9bdabb38d.tar gsoc2013-empathy-8c016f6793e80f7044c0d156171306a9bdabb38d.tar.gz gsoc2013-empathy-8c016f6793e80f7044c0d156171306a9bdabb38d.tar.bz2 gsoc2013-empathy-8c016f6793e80f7044c0d156171306a9bdabb38d.tar.lz gsoc2013-empathy-8c016f6793e80f7044c0d156171306a9bdabb38d.tar.xz gsoc2013-empathy-8c016f6793e80f7044c0d156171306a9bdabb38d.tar.zst gsoc2013-empathy-8c016f6793e80f7044c0d156171306a9bdabb38d.zip |
Only display "Send Files" if the contact is in Salut. (Jonny Lamb)
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=1771
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-contact-menu.c | 1 |
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); |