aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-03-11 20:22:17 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-03-11 20:22:17 +0800
commitf968742063aedff5b0e3814d4db3b1259d6cd1e8 (patch)
treeefdc4c65cb8630e4869cf48d8d309274632b3193
parent4265104d47b00c79341ff98e30d504ff595395c4 (diff)
downloadgsoc2013-empathy-f968742063aedff5b0e3814d4db3b1259d6cd1e8.tar
gsoc2013-empathy-f968742063aedff5b0e3814d4db3b1259d6cd1e8.tar.gz
gsoc2013-empathy-f968742063aedff5b0e3814d4db3b1259d6cd1e8.tar.bz2
gsoc2013-empathy-f968742063aedff5b0e3814d4db3b1259d6cd1e8.tar.lz
gsoc2013-empathy-f968742063aedff5b0e3814d4db3b1259d6cd1e8.tar.xz
gsoc2013-empathy-f968742063aedff5b0e3814d4db3b1259d6cd1e8.tar.zst
gsoc2013-empathy-f968742063aedff5b0e3814d4db3b1259d6cd1e8.zip
If we set contact's id and name is still empty, emit notify::name.
svn path=/trunk/; revision=745
-rw-r--r--libempathy/empathy-contact.c3
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 *