]> git.0d.be Git - empathy.git/commit
roster-view: add EmpathyRosterGroup and sort contacts accordingly
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 28 May 2012 13:28:59 +0000 (15:28 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 14 Jun 2012 07:21:49 +0000 (09:21 +0200)
commit2216d828732d19a32e99a485d829504bfff7d224
tree68fa1cd99a498123ef670dcca20be594e8a5d12a
parent043d63caaf16e09c291f0dcd28068e0efbf97bdb
roster-view: add EmpathyRosterGroup and sort contacts accordingly

The GtkExpander doesn't contain the contacts as its children because the view
needs to be have full control of which rows as displayed (for live search for
example). So instead we trick the view sort function to display the contact
associated with the group at the right position.

Also, we need to keep the structure flat to not break keyboard navigation
inside the widget.
libempathy-gtk/empathy-roster-view.c