diff options
author | Danielle Madeley <danielle.madeley@collabora.co.uk> | 2010-04-01 08:54:18 +0800 |
---|---|---|
committer | Danielle Madeley <danielle.madeley@collabora.co.uk> | 2010-04-01 08:54:18 +0800 |
commit | 2516bd84d5ed687f352746ce8e67676868680c15 (patch) | |
tree | 9243f69c788982806acaf256bf6a85f87cce9739 /libempathy-gtk/empathy-chat.c | |
parent | ecee0a557957c60cd78bf04e0f9f3a5dacc7892e (diff) | |
download | gsoc2013-empathy-2516bd84d5ed687f352746ce8e67676868680c15.tar gsoc2013-empathy-2516bd84d5ed687f352746ce8e67676868680c15.tar.gz gsoc2013-empathy-2516bd84d5ed687f352746ce8e67676868680c15.tar.bz2 gsoc2013-empathy-2516bd84d5ed687f352746ce8e67676868680c15.tar.lz gsoc2013-empathy-2516bd84d5ed687f352746ce8e67676868680c15.tar.xz gsoc2013-empathy-2516bd84d5ed687f352746ce8e67676868680c15.tar.zst gsoc2013-empathy-2516bd84d5ed687f352746ce8e67676868680c15.zip |
contact-list-store: don't put contacts in 'Ungrouped' when show-groups = False
Further, set show-groups = False for the contact list in EmpathyChat
Diffstat (limited to 'libempathy-gtk/empathy-chat.c')
-rw-r--r-- | libempathy-gtk/empathy-chat.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c index 36b4136ee..90272007a 100644 --- a/libempathy-gtk/empathy-chat.c +++ b/libempathy-gtk/empathy-chat.c @@ -2090,7 +2090,11 @@ chat_update_contacts_visibility (EmpathyChat *chat, priv->contacts_width); } - store = empathy_contact_list_store_new (EMPATHY_CONTACT_LIST (priv->tp_chat)); + store = empathy_contact_list_store_new ( + EMPATHY_CONTACT_LIST (priv->tp_chat)); + empathy_contact_list_store_set_show_groups ( + EMPATHY_CONTACT_LIST_STORE (store), FALSE); + priv->contact_list_view = GTK_WIDGET (empathy_contact_list_view_new (store, EMPATHY_CONTACT_LIST_FEATURE_CONTACT_TOOLTIP, EMPATHY_CONTACT_FEATURE_CHAT | |