aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-individual-view.c
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2010-06-23 23:46:38 +0800
committerTravis Reitter <treitter@gmail.com>2010-07-21 07:12:35 +0800
commit315a71325f98d86722d7c313d726828f767cef82 (patch)
tree5f25542a0d70ea1e63f67fe33b512f185610b15d /libempathy-gtk/empathy-individual-view.c
parente53b7431a34c09ceed319a1680cde1e44a50dab2 (diff)
downloadgsoc2013-empathy-315a71325f98d86722d7c313d726828f767cef82.tar
gsoc2013-empathy-315a71325f98d86722d7c313d726828f767cef82.tar.gz
gsoc2013-empathy-315a71325f98d86722d7c313d726828f767cef82.tar.bz2
gsoc2013-empathy-315a71325f98d86722d7c313d726828f767cef82.tar.lz
gsoc2013-empathy-315a71325f98d86722d7c313d726828f767cef82.tar.xz
gsoc2013-empathy-315a71325f98d86722d7c313d726828f767cef82.tar.zst
gsoc2013-empathy-315a71325f98d86722d7c313d726828f767cef82.zip
Use the new FolksFavourite interface for favourites support
Diffstat (limited to 'libempathy-gtk/empathy-individual-view.c')
-rw-r--r--libempathy-gtk/empathy-individual-view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-individual-view.c b/libempathy-gtk/empathy-individual-view.c
index 5a0a56651..067fb60a0 100644
--- a/libempathy-gtk/empathy-individual-view.c
+++ b/libempathy-gtk/empathy-individual-view.c
@@ -345,6 +345,7 @@ individual_view_handle_drag (EmpathyIndividualView *self,
if (!tp_strdiff (new_group, EMPATHY_INDIVIDUAL_STORE_FAVORITE))
{
/* Mark contact as favourite */
+ folks_favourite_set_is_favourite (FOLKS_FAVOURITE (individual), TRUE);
/* TODO: implement this */
DEBUG ("adding individual to favourites not fully implemented");
@@ -355,6 +356,7 @@ individual_view_handle_drag (EmpathyIndividualView *self,
if (!tp_strdiff (old_group, EMPATHY_INDIVIDUAL_STORE_FAVORITE))
{
/* Remove contact as favourite */
+ folks_favourite_set_is_favourite (FOLKS_FAVOURITE (individual), FALSE);
/* TODO: implement this */
DEBUG ("removing individual from favourites not fully " "implemented");