From 2edafe4d7fd4bd9f78e3d91ce8da5928bc5a3aa1 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 2 Oct 2007 08:42:16 +0000 Subject: Add back protocol group. 2007-10-02 Xavier Claessens * libempathy/empathy-tp-contact-list.c: Add back protocol group. svn path=/trunk/; revision=357 --- libempathy/empathy-tp-contact-list.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libempathy/empathy-tp-contact-list.c') diff --git a/libempathy/empathy-tp-contact-list.c b/libempathy/empathy-tp-contact-list.c index ae178dd06..f5d565ed8 100644 --- a/libempathy/empathy-tp-contact-list.c +++ b/libempathy/empathy-tp-contact-list.c @@ -825,6 +825,10 @@ tp_contact_list_get_all_groups (EmpathyContactList *list) groups = g_list_prepend (groups, g_strdup (name)); } + if (priv->protocol_group) { + groups = g_list_prepend (groups, g_strdup (priv->protocol_group)); + } + return groups; } @@ -847,6 +851,10 @@ tp_contact_list_get_groups (EmpathyContactList *list, ret = g_list_prepend (ret, g_strdup (l->data)); } + if (priv->protocol_group) { + ret = g_list_prepend (ret, g_strdup (priv->protocol_group)); + } + return ret; } -- cgit v1.2.3