aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-09-27 17:57:20 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-09-28 18:09:35 +0800
commit61c27ce3a19ab2b74ca1e0ef9ca058c10457f98f (patch)
tree5332169ae23944886b44057fcf6b9f515bb4196f
parent0ab3bd0797578847fe4f4967a3526333cb4a4e61 (diff)
downloadgsoc2013-empathy-61c27ce3a19ab2b74ca1e0ef9ca058c10457f98f.tar
gsoc2013-empathy-61c27ce3a19ab2b74ca1e0ef9ca058c10457f98f.tar.gz
gsoc2013-empathy-61c27ce3a19ab2b74ca1e0ef9ca058c10457f98f.tar.bz2
gsoc2013-empathy-61c27ce3a19ab2b74ca1e0ef9ca058c10457f98f.tar.lz
gsoc2013-empathy-61c27ce3a19ab2b74ca1e0ef9ca058c10457f98f.tar.xz
gsoc2013-empathy-61c27ce3a19ab2b74ca1e0ef9ca058c10457f98f.tar.zst
gsoc2013-empathy-61c27ce3a19ab2b74ca1e0ef9ca058c10457f98f.zip
document when/how Folks is used in empathy-chat
-rw-r--r--src/empathy-chat.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/empathy-chat.c b/src/empathy-chat.c
index 0f7173a9c..4da3f0aac 100644
--- a/src/empathy-chat.c
+++ b/src/empathy-chat.c
@@ -142,7 +142,14 @@ main (int argc,
theme_mgr = empathy_theme_manager_dup_singleton ();
/* Keep the individual manager alive so we won't fetch everything from Folks
- * each time we need to use it. */
+ * each time we need to use it. The individual manager (and so Folks) is
+ * needed to know to which FolksIndividual a TpContact belongs, including:
+ * - empathy_chat_get_contact_menu: to list all the personas of the contact
+ * - empathy_display_individual_info: to invoke gnome-contacts with the
+ * FolksIndividual.id of the contact
+ * - chat-window:drag_data_received_individual_id: to find the individual
+ * associated with the ID we received from the DnD in order to invite him.
+ */
individual_mgr = empathy_individual_manager_dup_singleton ();
if (g_getenv ("EMPATHY_PERSIST") != NULL)