aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2007-10-02 16:42:16 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-10-02 16:42:16 +0800
commit2edafe4d7fd4bd9f78e3d91ce8da5928bc5a3aa1 (patch)
tree7c7e9f85c1d5dda65fb1c6ae15a60f8868d4cb48 /libempathy
parent5e407181b4d13bc413fe5bea35caa757a96d58d6 (diff)
downloadgsoc2013-empathy-2edafe4d7fd4bd9f78e3d91ce8da5928bc5a3aa1.tar
gsoc2013-empathy-2edafe4d7fd4bd9f78e3d91ce8da5928bc5a3aa1.tar.gz
gsoc2013-empathy-2edafe4d7fd4bd9f78e3d91ce8da5928bc5a3aa1.tar.bz2
gsoc2013-empathy-2edafe4d7fd4bd9f78e3d91ce8da5928bc5a3aa1.tar.lz
gsoc2013-empathy-2edafe4d7fd4bd9f78e3d91ce8da5928bc5a3aa1.tar.xz
gsoc2013-empathy-2edafe4d7fd4bd9f78e3d91ce8da5928bc5a3aa1.tar.zst
gsoc2013-empathy-2edafe4d7fd4bd9f78e3d91ce8da5928bc5a3aa1.zip
Add back protocol group.
2007-10-02 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-tp-contact-list.c: Add back protocol group. svn path=/trunk/; revision=357
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-tp-contact-list.c8
1 files changed, 8 insertions, 0 deletions
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;
}