From 37d6905510d419e22e024adb05decddbc4595af3 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Mon, 30 Aug 2010 16:28:37 +0100 Subject: Choose an best_contact even if it isn't sensitive in the EmpathyIndividualMenu This fixes the "Send File" entry not working. --- libempathy-gtk/empathy-individual-menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libempathy-gtk') diff --git a/libempathy-gtk/empathy-individual-menu.c b/libempathy-gtk/empathy-individual-menu.c index b08b242b3..69f0330f4 100644 --- a/libempathy-gtk/empathy-individual-menu.c +++ b/libempathy-gtk/empathy-individual-menu.c @@ -440,7 +440,7 @@ menu_item_set_first_contact (GtkWidget *item, contact = empathy_contact_dup_from_tp_contact (tp_contact); empathy_contact_set_persona (contact, FOLKS_PERSONA (l->data)); - if (sensitivity_predicate == NULL || + if (best_contact == NULL || sensitivity_predicate == NULL || sensitivity_predicate (contact) == TRUE) { tp_clear_object (&best_contact); -- cgit v1.2.3