[empathy] Choose an best_contact even if it isn't sensitive in the EmpathyIndividualMenu
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] Choose an best_contact even if it isn't sensitive in the EmpathyIndividualMenu
- Date: Mon, 30 Aug 2010 15:40:57 +0000 (UTC)
commit 37d6905510d419e22e024adb05decddbc4595af3
Author: Philip Withnall <philip withnall collabora co uk>
Date: Mon Aug 30 16:28:37 2010 +0100
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy-gtk/empathy-individual-menu.c b/libempathy-gtk/empathy-individual-menu.c
index b08b242..69f0330 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]