diff options
author | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2008-03-11 20:22:17 +0800 |
---|---|---|
committer | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2008-03-11 20:22:17 +0800 |
commit | c65e038944e3c40fc645d70696e4fe4974c0f11a (patch) | |
tree | efdc4c65cb8630e4869cf48d8d309274632b3193 /libempathy | |
parent | 9e14256d37223ba2de2fcc0010272f72a497317a (diff) | |
download | gsoc2013-empathy-c65e038944e3c40fc645d70696e4fe4974c0f11a.tar gsoc2013-empathy-c65e038944e3c40fc645d70696e4fe4974c0f11a.tar.gz gsoc2013-empathy-c65e038944e3c40fc645d70696e4fe4974c0f11a.tar.bz2 gsoc2013-empathy-c65e038944e3c40fc645d70696e4fe4974c0f11a.tar.lz gsoc2013-empathy-c65e038944e3c40fc645d70696e4fe4974c0f11a.tar.xz gsoc2013-empathy-c65e038944e3c40fc645d70696e4fe4974c0f11a.tar.zst gsoc2013-empathy-c65e038944e3c40fc645d70696e4fe4974c0f11a.zip |
If we set contact's id and name is still empty, emit notify::name.
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@745 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'libempathy')
-rw-r--r-- | libempathy/empathy-contact.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c index 2ec295065..13b526041 100644 --- a/libempathy/empathy-contact.c +++ b/libempathy/empathy-contact.c @@ -354,6 +354,9 @@ empathy_contact_set_id (EmpathyContact *contact, priv->id = g_strdup (id); g_object_notify (G_OBJECT (contact), "id"); + if (G_STR_EMPTY (priv->name)) { + g_object_notify (G_OBJECT (contact), "name"); + } } const gchar * |