empathy r745 - trunk/libempathy



Author: xclaesse
Date: Tue Mar 11 12:22:17 2008
New Revision: 745
URL: http://svn.gnome.org/viewvc/empathy?rev=745&view=rev

Log:
If we set contact's id and name is still empty, emit notify::name.


Modified:
   trunk/libempathy/empathy-contact.c

Modified: trunk/libempathy/empathy-contact.c
==============================================================================
--- trunk/libempathy/empathy-contact.c	(original)
+++ trunk/libempathy/empathy-contact.c	Tue Mar 11 12:22:17 2008
@@ -354,6 +354,9 @@
 	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 *



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