aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-individual-menu.c
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-30 23:28:37 +0800
committerPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-30 23:28:37 +0800
commit37d6905510d419e22e024adb05decddbc4595af3 (patch)
tree2fe1c57cbf25387a651d448068e6433b7df53e52 /libempathy-gtk/empathy-individual-menu.c
parent59333ef35fe969e67e3a9da55f2bd5856d878e3a (diff)
downloadgsoc2013-empathy-37d6905510d419e22e024adb05decddbc4595af3.tar
gsoc2013-empathy-37d6905510d419e22e024adb05decddbc4595af3.tar.gz
gsoc2013-empathy-37d6905510d419e22e024adb05decddbc4595af3.tar.bz2
gsoc2013-empathy-37d6905510d419e22e024adb05decddbc4595af3.tar.lz
gsoc2013-empathy-37d6905510d419e22e024adb05decddbc4595af3.tar.xz
gsoc2013-empathy-37d6905510d419e22e024adb05decddbc4595af3.tar.zst
gsoc2013-empathy-37d6905510d419e22e024adb05decddbc4595af3.zip
Choose an best_contact even if it isn't sensitive in the EmpathyIndividualMenu
This fixes the "Send File" entry not working.
Diffstat (limited to 'libempathy-gtk/empathy-individual-menu.c')
-rw-r--r--libempathy-gtk/empathy-individual-menu.c2
1 files changed, 1 insertions, 1 deletions
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);