aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-individual-menu.c
diff options
context:
space:
mode:
authorRaul Gutierrez Segales <rgs@collabora.co.uk>2011-09-19 22:09:57 +0800
committerRaul Gutierrez Segales <rgs@collabora.co.uk>2011-09-19 22:27:38 +0800
commitaaff7e95f9dd66f94a3b85e910b049daf9097a0c (patch)
tree36dd2c6d2b77e675f3ccc96cb894d6b1e49aeb62 /libempathy-gtk/empathy-individual-menu.c
parentccd55bf7585624f1aab05525444449c44310d642 (diff)
downloadgsoc2013-empathy-aaff7e95f9dd66f94a3b85e910b049daf9097a0c.tar
gsoc2013-empathy-aaff7e95f9dd66f94a3b85e910b049daf9097a0c.tar.gz
gsoc2013-empathy-aaff7e95f9dd66f94a3b85e910b049daf9097a0c.tar.bz2
gsoc2013-empathy-aaff7e95f9dd66f94a3b85e910b049daf9097a0c.tar.lz
gsoc2013-empathy-aaff7e95f9dd66f94a3b85e910b049daf9097a0c.tar.xz
gsoc2013-empathy-aaff7e95f9dd66f94a3b85e910b049daf9097a0c.tar.zst
gsoc2013-empathy-aaff7e95f9dd66f94a3b85e910b049daf9097a0c.zip
Use always-writeable and writeable-properties for alias and groups
Folks is in the way of deprecating the folks_persona_store_get_can_{alias,group}_personas methods in favour of directly checking alias and groups properties via folks_persona_store_get_always_writeable_properties and folks_persona_get_writeable_properties.
Diffstat (limited to 'libempathy-gtk/empathy-individual-menu.c')
-rw-r--r--libempathy-gtk/empathy-individual-menu.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-individual-menu.c b/libempathy-gtk/empathy-individual-menu.c
index 745474d84..5d24cf120 100644
--- a/libempathy-gtk/empathy-individual-menu.c
+++ b/libempathy-gtk/empathy-individual-menu.c
@@ -1131,8 +1131,9 @@ empathy_individual_edit_menu_item_new (FolksIndividual *individual)
manager = empathy_individual_manager_dup_singleton ();
connection = empathy_contact_get_connection (contact);
- enable = (empathy_connection_can_alias_personas (connection) &&
- empathy_connection_can_group_personas (connection));
+ enable = (empathy_connection_can_alias_personas (connection,
+ individual) &&
+ empathy_connection_can_group_personas (connection, individual));
g_object_unref (manager);
}