[gnome-contacts] Set the full name to something nice when creating new primary store personas



commit f2bc032d09f40297994163cc7dead4fa3a448ff9
Author: Alexander Larsson <alexl redhat com>
Date:   Thu Aug 25 22:35:29 2011 +0200

    Set the full name to something nice when creating new primary store personas

 src/contacts-contact.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/contacts-contact.vala b/src/contacts-contact.vala
index 99b50a5..48964cf 100644
--- a/src/contacts-contact.vala
+++ b/src/contacts-contact.vala
@@ -920,6 +920,7 @@ public class Contacts.FakePersona : Persona {
       prop_vals = new ArrayList<PropVal> ();
       prop_vals.add (v);
       Persona p = yield contact.ensure_primary_persona ();
+      p.set ("full-name", contact.display_name);
       foreach (var pv in prop_vals) {
 	p.set (pv.property, pv.value);
       }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]