diff options
-rw-r--r-- | libempathy-gtk/empathy-contact-widget.c | 9 | ||||
-rw-r--r-- | libempathy-gtk/empathy-individual-store.c | 4 |
2 files changed, 9 insertions, 4 deletions
diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c index 82b638182..76271c6fc 100644 --- a/libempathy-gtk/empathy-contact-widget.c +++ b/libempathy-gtk/empathy-contact-widget.c @@ -1336,7 +1336,14 @@ contact_widget_entry_alias_focus_event_cb (GtkEditable *editable, } else { - empathy_contact_set_alias (information->contact, alias); + FolksIndividual *individual = folks_individual_from_empathy_contact ( + information->contact); + + if (individual) + { + folks_alias_set_alias (FOLKS_ALIAS (individual), alias); + g_object_unref (individual); + } } } diff --git a/libempathy-gtk/empathy-individual-store.c b/libempathy-gtk/empathy-individual-store.c index 0f607c59d..398ed1357 100644 --- a/libempathy-gtk/empathy-individual-store.c +++ b/libempathy-gtk/empathy-individual-store.c @@ -748,9 +748,7 @@ individual_store_add_individual_and_connect (EmpathyIndividualStore *self, G_CALLBACK (individual_store_contact_updated_cb), self); g_signal_connect (individual, "notify::presence-message", G_CALLBACK (individual_store_contact_updated_cb), self); - g_signal_connect (individual, "notify::name", - G_CALLBACK (individual_store_contact_updated_cb), self); - g_signal_connect (individual, "notify::avatar", + g_signal_connect (individual, "notify::alias", G_CALLBACK (individual_store_contact_updated_cb), self); g_signal_connect (individual, "notify::capabilities", G_CALLBACK (individual_store_contact_updated_cb), self); |