diff options
author | Laurent Contzen <lcontzen@gmail.com> | 2012-08-04 19:33:14 +0800 |
---|---|---|
committer | Laurent Contzen <lcontzen@gmail.com> | 2012-08-06 17:02:18 +0800 |
commit | 765db7cfd0a0aa7aea9f0f717a7762ad79e14ef9 (patch) | |
tree | 340dab146da0621b265e770824e59e3e332f6abc /libempathy-gtk/empathy-roster-view.c | |
parent | f54a06dcc9682df323ff98bd8e776bf75da950b0 (diff) | |
download | gsoc2013-empathy-765db7cfd0a0aa7aea9f0f717a7762ad79e14ef9.tar gsoc2013-empathy-765db7cfd0a0aa7aea9f0f717a7762ad79e14ef9.tar.gz gsoc2013-empathy-765db7cfd0a0aa7aea9f0f717a7762ad79e14ef9.tar.bz2 gsoc2013-empathy-765db7cfd0a0aa7aea9f0f717a7762ad79e14ef9.tar.lz gsoc2013-empathy-765db7cfd0a0aa7aea9f0f717a7762ad79e14ef9.tar.xz gsoc2013-empathy-765db7cfd0a0aa7aea9f0f717a7762ad79e14ef9.tar.zst gsoc2013-empathy-765db7cfd0a0aa7aea9f0f717a7762ad79e14ef9.zip |
roster-model now catches notify::favourites-changed
empathy-roster-model: catches notify::favourites-changed and emits favourites-changed
empathy-roster-model-manager: implemented this
empathy-roster-view: now catches favourites-changed from the model
Diffstat (limited to 'libempathy-gtk/empathy-roster-view.c')
-rw-r--r-- | libempathy-gtk/empathy-roster-view.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-roster-view.c b/libempathy-gtk/empathy-roster-view.c index c157a12d0..2b8154ecc 100644 --- a/libempathy-gtk/empathy-roster-view.c +++ b/libempathy-gtk/empathy-roster-view.c @@ -1035,7 +1035,7 @@ top_individuals_changed_cb (EmpathyRosterModel *model, } static void -favourites_changed_cb (EmpathyIndividualManager *manager, +favourites_changed_cb (EmpathyRosterModel *model, FolksIndividual *individual, gboolean favourite, EmpathyRosterView *self) @@ -1089,7 +1089,7 @@ empathy_roster_view_constructed (GObject *object) G_CALLBACK (groups_changed_cb), self, 0); tp_g_signal_connect_object (self->priv->model, "top-individuals-changed", G_CALLBACK (top_individuals_changed_cb), self, 0); - tp_g_signal_connect_object (self->priv->manager, "notify::favourites-changed", + tp_g_signal_connect_object (self->priv->model, "favourites-changed", G_CALLBACK (favourites_changed_cb), self, 0); egg_list_box_set_sort_func (EGG_LIST_BOX (self), |