From 976d656a08ded1864324b6060ef035ffcb0b833b Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Wed, 6 Jun 2007 09:10:23 +0000 Subject: Add support for blinking when there is an event. Make use of EmpathyIdle 2007-06-06 Xavier Claessens * libempathy-gtk/empathy-status-icon.c: Add support for blinking when there is an event. Make use of EmpathyIdle for presence handling. Add an event when a contact requets subscription. * libempathy-gtk/gossip-contact-list-store.c: * libempathy-gtk/gossip-contact-list-view.c: * libempathy/empathy-contact-manager.c: * libempathy/empathy-tp-contact-list.c: * libempathy/empathy-tp-chatroom.c: * libempathy/empathy-contact-list.c: * libempathy/empathy-contact-list.h: get_contacts() is renamed to get_members(). Adding a signal and a method for local-pending with contacts with the message. Rework completely the contact-list handling in EmpathyTpContactList to follow tp spec. * libempathy/empathy-idle.c: * libempathy/empathy-idle.h: Add properties for the state and the status message. EmpathyIdle is now a singleton to manager self presence. * TODO: Updated. svn path=/trunk/; revision=123 --- libempathy-gtk/gossip-contact-list-store.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libempathy-gtk/gossip-contact-list-store.c') diff --git a/libempathy-gtk/gossip-contact-list-store.c b/libempathy-gtk/gossip-contact-list-store.c index f0ff476dd..4a5b5506e 100644 --- a/libempathy-gtk/gossip-contact-list-store.c +++ b/libempathy-gtk/gossip-contact-list-store.c @@ -343,7 +343,7 @@ gossip_contact_list_store_new (EmpathyContactList *list_iface) /* Add contacts already created. Do not highlight them. */ show_active = priv->show_active; priv->show_active = FALSE; - contacts = empathy_contact_list_get_contacts (priv->list); + contacts = empathy_contact_list_get_members (priv->list); for (l = contacts; l; l = l->next) { GossipContact *contact; @@ -401,7 +401,7 @@ gossip_contact_list_store_set_show_offline (GossipContactListStore *store, /* Disable temporarily. */ priv->show_active = FALSE; - contacts = empathy_contact_list_get_contacts (priv->list); + contacts = empathy_contact_list_get_members (priv->list); for (l = contacts; l; l = l->next) { GossipContact *contact; @@ -654,7 +654,7 @@ gossip_contact_list_store_set_contact_groups_func (GossipContactListStore *stor * to call himself gossip_contact_list_store_update_contact_groups () * when needed. If func is NULL we come back to default. */ - contacts = empathy_contact_list_get_contacts (priv->list); + contacts = empathy_contact_list_get_members (priv->list); for (l = contacts; l; l = l->next) { GossipContact *contact; -- cgit v1.2.3