GNOME Bugzilla – Bug 669720
Please add an option to ignore contact groups
Last modified: 2012-02-09 12:05:44 UTC
With Empathy connected to many different accounts, contact groups easily become unwieldy. This is because different services have very different ideas of what contact groups are, and they really don't cooperate: - Facebook contact groups correspond to friend lists, which are used more as a privacy control mechanism than a way to categorize people. - Facebook's default contact group is "Facebook Friends" - Facebook's default contact group ends up with a lot of contacts unless users are especially picky. The chat interface on Facebook.com makes such pickiness unnecessary, as contact groups are not visible. - Android creates a Google Talk contact group called "Starred in Android." - Telepathy doesn't seem to handle changing contact groups very well. This becomes especially troublesome with meta-contacts. I have a meta-contact that is regularly listed three times because he appears in Facebook Friends, Starred in Android and Personal. If I starred this contact in Empathy, he would appear four times. In other words, contact groups can hinder more than they help. So, for these situations, it would be helpful to include an option to completely ignore contact groups and display contacts in a flat list. It would be nice if the Favourite Contacts feature continued to work in this case.
Created attachment 207158 [details] [review] Patch adding a gsettings property to show or hide all contact groups.
Oooh, this is already implemented in empathy-individual-store, so it's really easy. Cool! (Good thing: I've been using a lot of Javascript lately, so my C is worse than usual). Here's a patch that adds a new property to gsettings: empathy/ui/show-groups, and some some code in roster-window to handle that appropriately. I have not added any UI stuff. In its current state, this does not show the Favourite People group. I can probably take care of that without too much worry, if there's interest in this feature in the first place :)
And (sorry about all the extra messages!) here's a branch on github: https://github.com/DylanMcCall/Empathy---Hide-contact-groups
Thanks for your patch Dylan but I already wrote one waiting for review. :) *** This bug has been marked as a duplicate of bug 627658 ***