aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-individual-linker.c
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-26 02:39:19 +0800
committerPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-27 18:55:27 +0800
commit70159532bf83cb1e8210155b2e968f833fa4dd7e (patch)
tree6719c6b6fea4afe221ff3fcd251d4bb32028b2c1 /libempathy-gtk/empathy-individual-linker.c
parent2c7fdebf7a7cea6efbc0a305e681b7e7d158d821 (diff)
downloadgsoc2013-empathy-70159532bf83cb1e8210155b2e968f833fa4dd7e.tar
gsoc2013-empathy-70159532bf83cb1e8210155b2e968f833fa4dd7e.tar.gz
gsoc2013-empathy-70159532bf83cb1e8210155b2e968f833fa4dd7e.tar.bz2
gsoc2013-empathy-70159532bf83cb1e8210155b2e968f833fa4dd7e.tar.lz
gsoc2013-empathy-70159532bf83cb1e8210155b2e968f833fa4dd7e.tar.xz
gsoc2013-empathy-70159532bf83cb1e8210155b2e968f833fa4dd7e.tar.zst
gsoc2013-empathy-70159532bf83cb1e8210155b2e968f833fa4dd7e.zip
Add an EmpathyIndividualView::show-untrusted property
This allows the view to filter out untrusted Individuals (such as link-local XMPP contacts). This is used in the linking dialogue to disallow selection of link-local XMPP contacts for linking. Closes: bgo#627930
Diffstat (limited to 'libempathy-gtk/empathy-individual-linker.c')
-rw-r--r--libempathy-gtk/empathy-individual-linker.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-individual-linker.c b/libempathy-gtk/empathy-individual-linker.c
index b4226a71c..0fc67c00c 100644
--- a/libempathy-gtk/empathy-individual-linker.c
+++ b/libempathy-gtk/empathy-individual-linker.c
@@ -335,6 +335,7 @@ set_up (EmpathyIndividualLinker *self)
EMPATHY_INDIVIDUAL_VIEW_FEATURE_PERSONA_DROP,
EMPATHY_INDIVIDUAL_FEATURE_NONE);
empathy_individual_view_set_show_offline (priv->individual_view, TRUE);
+ empathy_individual_view_set_show_untrusted (priv->individual_view, FALSE);
g_signal_connect (priv->individual_view, "row-activated",
(GCallback) row_activated_cb, self);