aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-06-19 17:43:08 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-06-19 19:30:44 +0800
commitb7d71d0633ae264acb5b3070d0f318b356f6cabc (patch)
treed4c747693787bf68cbe24da876010cc4fed60159 /libempathy-gtk
parent947941331f01e77ce83baa623e4a15b081d8cd1a (diff)
downloadgsoc2013-empathy-b7d71d0633ae264acb5b3070d0f318b356f6cabc.tar
gsoc2013-empathy-b7d71d0633ae264acb5b3070d0f318b356f6cabc.tar.gz
gsoc2013-empathy-b7d71d0633ae264acb5b3070d0f318b356f6cabc.tar.bz2
gsoc2013-empathy-b7d71d0633ae264acb5b3070d0f318b356f6cabc.tar.lz
gsoc2013-empathy-b7d71d0633ae264acb5b3070d0f318b356f6cabc.tar.xz
gsoc2013-empathy-b7d71d0633ae264acb5b3070d0f318b356f6cabc.tar.zst
gsoc2013-empathy-b7d71d0633ae264acb5b3070d0f318b356f6cabc.zip
roster-view: add_to_displayed: no need to try refiltering groups in non group mode
https://bugzilla.gnome.org/show_bug.cgi?id=678205
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-roster-view.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-roster-view.c b/libempathy-gtk/empathy-roster-view.c
index 1e98efcfe..cbc2c5c14 100644
--- a/libempathy-gtk/empathy-roster-view.c
+++ b/libempathy-gtk/empathy-roster-view.c
@@ -725,6 +725,10 @@ add_to_displayed (EmpathyRosterView *self,
/* Groups of this contact may now be displayed if we just displays the first
* child in this group. */
+
+ if (!self->priv->show_groups)
+ return;
+
individual = empathy_roster_contact_get_individual (contact);
contacts = g_hash_table_lookup (self->priv->roster_contacts, individual);
if (contacts == NULL)