[empathy] roster-model-manager: always remove removed individual from the top group
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] roster-model-manager: always remove removed individual from the top group
- Date: Wed, 29 Aug 2012 14:01:16 +0000 (UTC)
commit 5f46f971707112e712ea0b7e2f64cdd89d4074dc
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Wed Aug 29 15:50:35 2012 +0200
roster-model-manager: always remove removed individual from the top group
If the individual has been removed from the manager we should always remove it
from the top group members, even if he's still eligible for this group.
https://bugzilla.gnome.org/show_bug.cgi?id=682938
libempathy-gtk/empathy-roster-model-manager.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libempathy-gtk/empathy-roster-model-manager.c b/libempathy-gtk/empathy-roster-model-manager.c
index bf0f906..118b3af 100644
--- a/libempathy-gtk/empathy-roster-model-manager.c
+++ b/libempathy-gtk/empathy-roster-model-manager.c
@@ -142,8 +142,7 @@ members_changed_cb (EmpathyIndividualManager *manager,
for (l = removed; l != NULL; l = g_list_next (l))
{
- if (individual_in_top_group_members (self, l->data) &&
- !individual_should_be_in_top_group_members (self, l->data))
+ if (individual_in_top_group_members (self, l->data))
self->priv->top_group_members = g_list_remove (
self->priv->top_group_members, l->data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]