aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-contact-list.c
diff options
context:
space:
mode:
authorTravis Reitter <treitter@gmail.com>2010-03-06 10:58:17 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-03-15 16:28:40 +0800
commitc66e6c536d776414f6bfada650dc25d97dc95803 (patch)
tree9604690224776a95843126ef1c9deb348a53ea70 /libempathy/empathy-contact-list.c
parent79ef79c4d92cc4978dd12528d5bb6c3673a6b0f9 (diff)
downloadgsoc2013-empathy-c66e6c536d776414f6bfada650dc25d97dc95803.tar
gsoc2013-empathy-c66e6c536d776414f6bfada650dc25d97dc95803.tar.gz
gsoc2013-empathy-c66e6c536d776414f6bfada650dc25d97dc95803.tar.bz2
gsoc2013-empathy-c66e6c536d776414f6bfada650dc25d97dc95803.tar.lz
gsoc2013-empathy-c66e6c536d776414f6bfada650dc25d97dc95803.tar.xz
gsoc2013-empathy-c66e6c536d776414f6bfada650dc25d97dc95803.tar.zst
gsoc2013-empathy-c66e6c536d776414f6bfada650dc25d97dc95803.zip
Rebase the favourites support upon the telepathy-logger instead of a specially-named favourites group.
Diffstat (limited to 'libempathy/empathy-contact-list.c')
-rw-r--r--libempathy/empathy-contact-list.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/libempathy/empathy-contact-list.c b/libempathy/empathy-contact-list.c
index 611a40fe5..7bd00474f 100644
--- a/libempathy/empathy-contact-list.c
+++ b/libempathy/empathy-contact-list.c
@@ -73,6 +73,15 @@ contact_list_base_init (gpointer klass)
5, EMPATHY_TYPE_CONTACT, EMPATHY_TYPE_CONTACT,
G_TYPE_UINT, G_TYPE_STRING, G_TYPE_BOOLEAN);
+ g_signal_new ("favourites-changed",
+ G_TYPE_FROM_CLASS (klass),
+ G_SIGNAL_RUN_LAST,
+ 0,
+ NULL, NULL,
+ _empathy_marshal_VOID__OBJECT_BOOLEAN,
+ G_TYPE_NONE,
+ 2, EMPATHY_TYPE_CONTACT, G_TYPE_BOOLEAN);
+
g_signal_new ("pendings-changed",
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST,
@@ -287,5 +296,3 @@ empathy_contact_list_remove_from_favourites (EmpathyContactList *list,
}
#endif /* HAVE_FAVOURITE_CONTACTS */
}
-
-