aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-roster-model-manager.c
Commit message (Collapse)AuthorAgeFilesLines
* cope with the top_group_members list being changed while iterating over itGuillaume Desmottes2012-10-021-6/+13
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=685203
* roster-model-manager: factor out {add_to,remove_from}_top_group_members()Guillaume Desmottes2012-10-021-14/+23
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=685203
* rename empathy_roster_model_get_groups_for_individual() to _dup_Guillaume Desmottes2012-09-121-3/+3
| | | | | It matches tp-glib naming convention now that the returned list is (transfer full).
* empathy_roster_model_get_groups_for_individual: return a (transfer full) listGuillaume Desmottes2012-09-121-2/+2
| | | | | | | gee_iterator_get() returns a new string, so we have to pass its ownership to the list to not leak it. https://bugzilla.gnome.org/show_bug.cgi?id=683864
* model-manager: connect on the "favourites-changed" signalGuillaume Desmottes2012-09-041-1/+1
| | | | | | That's a proper signal, not a property change. https://bugzilla.gnome.org/show_bug.cgi?id=683022
* roster-model-manager: always remove removed individual from the top groupGuillaume Desmottes2012-08-291-2/+1
| | | | | | | If the individual has been removed from the manager we should always remove it from the top group members, even if he's still eligible for this group. https://bugzilla.gnome.org/show_bug.cgi?id=682938
* Removed now useless _get_top_individuals function in the modelLaurent Contzen2012-08-071-9/+0
|
* Moved _contact_in_top from the model to the viewLaurent Contzen2012-08-071-15/+0
| | | | | empathy-roster-model and empathy-roster-model-manager: removed _contact_in_top empathy-roster-view: added new function contact_in_top and modified functions to use it
* Added top_group_members list in model, view relying on itLaurent Contzen2012-08-071-19/+106
| | | | | | | empathy-roster-model: no longer emits top-individuals and favourites-changed signals empathy-roster-model-manager: new top_group_members GList with filling function. _contact_in_top uses top_group_members. top_group_members is modified when top-individuals and favourites-changed signals are caught. empathy-roster-view: no longer catches top-individuals or favourites-changed signals from the model
* Coding style fixupsLaurent Contzen2012-08-061-2/+4
|
* Moved the #define'd groups names from view to modelLaurent Contzen2012-08-061-3/+2
| | | | | | empathy-roster-model: Added the groups names definitions empathy-roster-model-manager: Adapted functions to the new groups names empathy-roster-view: removed the groups names definitions and adapted functions to the new groups names
* Moved contact_in_top and contact_is_favourite from view to modelLaurent Contzen2012-08-061-0/+32
| | | | | | empathy-roster-model: new function _contact_in_top empathy-roster-model-manager: implemented _contact_in_top, new function contact_is_favourite empathy-roster-view: removed contact_in_top and contact_is_favourite functions, now calling model's _contact_in_top instead
* roster-model now catches notify::favourites-changedLaurent Contzen2012-08-061-0/+12
| | | | | | empathy-roster-model: catches notify::favourites-changed and emits favourites-changed empathy-roster-model-manager: implemented this empathy-roster-view: now catches favourites-changed from the model
* roster-model now catches notify::top-individualsLaurent Contzen2012-08-061-0/+11
| | | | | | empathy-roster-model: catches notify::top-individuals and emits top-individuals-changed empathy-roster-model-manager: implemented this empathy-roster-view: now catches top-individuals-changed from the model
* Added new function _get_top_individuals in the modelLaurent Contzen2012-08-061-0/+9
| | | | | | empathy-roster-model: new function _get_top_individuals empathy-roster-model-manager: implemented _get_top_individuals empathy-roster-view: uses the roster-model's _get_top_individuals instead of the individual-manager's
* Coding style fixup in empathy-roster-model-manager.cLaurent Contzen2012-08-061-1/+2
|
* empathy-roster-model-manager: added xmpp-local contacts support ↵Laurent Contzen2012-07-231-0/+33
| | | | | | empathy-roster-view: removed xmpp-local contacts support https://bugzilla.gnome.org/show_bug.cgi?id=680302
* empathy-roster-model: New virtual method _get_groups_for_individual ↵Laurent Contzen2012-07-231-3/+24
| | | | | | empathy-roster-model-manager: implemented _get_groups_for_individual empathy-roster-view.c: using _get_groups_for_individual https://bugzilla.gnome.org/show_bug.cgi?id=680302
* empathy-roster-model, empathy-roster-model-manager: Now deals with ↵Laurent Contzen2012-07-231-0/+15
| | | | | | groups-changed signal empathy-roster-view.c: now uses roster-model's groups-changed signal https://bugzilla.gnome.org/show_bug.cgi?id=680302
* empathy-roster-model-manager: deal with members-changed signals ↵Laurent Contzen2012-07-231-0/+26
| | | | | | empathy-roster-view: use empathy-roster-model-manager signals https://bugzilla.gnome.org/show_bug.cgi?id=680302
* empathy-roster-model-manager.c: implement ↵Laurent Contzen2012-07-231-0/+9
| | | | | | | | empathy_roster_model_manager_get_individuals () https://bugzilla.gnome.org/show_bug.cgi?id=679868 https://bugzilla.gnome.org/show_bug.cgi?id=680302
* empathy-roster-model-manager: Pass an EmpathyIndividualManager to ↵Laurent Contzen2012-07-231-8/+28
| | | | | | EmpathyRosterModelManager https://bugzilla.gnome.org/show_bug.cgi?id=680302
* add empathy-roster-model-managerGuillaume Desmottes2012-07-231-0/+155