aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-individual-linker.c
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-19 21:44:22 +0800
committerPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-20 17:32:28 +0800
commit7906c05973b29175938775fa5fabc3e3f347b372 (patch)
tree9acfd9388a06dabf72bed821d4b955c075bc61e7 /libempathy-gtk/empathy-individual-linker.c
parent4a38890ece9f9e0ef045c689d79d13e00515d98c (diff)
downloadgsoc2013-empathy-7906c05973b29175938775fa5fabc3e3f347b372.tar
gsoc2013-empathy-7906c05973b29175938775fa5fabc3e3f347b372.tar.gz
gsoc2013-empathy-7906c05973b29175938775fa5fabc3e3f347b372.tar.bz2
gsoc2013-empathy-7906c05973b29175938775fa5fabc3e3f347b372.tar.lz
gsoc2013-empathy-7906c05973b29175938775fa5fabc3e3f347b372.tar.xz
gsoc2013-empathy-7906c05973b29175938775fa5fabc3e3f347b372.tar.zst
gsoc2013-empathy-7906c05973b29175938775fa5fabc3e3f347b372.zip
Bug 627219 — Link dialog search doesn't work
Allow the store of an EmpathyIndividualView to be changed after construction, and cope with recreating the filter when this happens. Closes: bgo#627219
Diffstat (limited to 'libempathy-gtk/empathy-individual-linker.c')
-rw-r--r--libempathy-gtk/empathy-individual-linker.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-individual-linker.c b/libempathy-gtk/empathy-individual-linker.c
index d4bad83b7..8ca6c4a3a 100644
--- a/libempathy-gtk/empathy-individual-linker.c
+++ b/libempathy-gtk/empathy-individual-linker.c
@@ -557,8 +557,8 @@ empathy_individual_linker_set_start_individual (EmpathyIndividualLinker *self,
priv->start_individual = g_object_ref (individual);
priv->new_individual = folks_individual_new (
folks_individual_get_personas (individual));
- gtk_tree_view_set_model (GTK_TREE_VIEW (priv->individual_view),
- GTK_TREE_MODEL (priv->individual_store));
+ empathy_individual_view_set_store (priv->individual_view,
+ priv->individual_store);
}
else
{
@@ -567,7 +567,7 @@ empathy_individual_linker_set_start_individual (EmpathyIndividualLinker *self,
/* We only display Individuals in the individual view if we have a
* new_individual to link them into */
- gtk_tree_view_set_model (GTK_TREE_VIEW (priv->individual_view), NULL);
+ empathy_individual_view_set_store (priv->individual_view, NULL);
}
empathy_individual_widget_set_individual (