empathy r1771 - trunk/libempathy-gtk
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r1771 - trunk/libempathy-gtk
- Date: Fri, 21 Nov 2008 16:15:59 +0000 (UTC)
Author: xclaesse
Date: Fri Nov 21 16:15:58 2008
New Revision: 1771
URL: http://svn.gnome.org/viewvc/empathy?rev=1771&view=rev
Log:
Only display "Send Files" if the contact is in Salut. (Jonny Lamb)
Signed-off-by: Jonny Lamb <jonny lamb collabora co uk>
Modified:
trunk/libempathy-gtk/empathy-contact-menu.c
Modified: trunk/libempathy-gtk/empathy-contact-menu.c
==============================================================================
--- trunk/libempathy-gtk/empathy-contact-menu.c (original)
+++ trunk/libempathy-gtk/empathy-contact-menu.c Fri Nov 21 16:15:58 2008
@@ -209,6 +209,7 @@
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]