]> git.0d.be Git - empathy.git/commitdiff
roster-view: resort when the alias is changed
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 25 May 2012 10:40:49 +0000 (12:40 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 14 Jun 2012 07:21:47 +0000 (09:21 +0200)
libempathy-gtk/empathy-roster-view.c

index 966735e70c596bee0f55925754d86eb3185d4cf2..8049b84368b552b2fe334c02baf876ceb7ff6bac 100644 (file)
@@ -102,6 +102,10 @@ individual_added (EmpathyRosterView *self,
   g_signal_connect (item, "notify::online",
       G_CALLBACK (item_changed_cb), self);
 
+  /* Need to resort if alias is changed */
+  g_signal_connect (item, "notify::alias",
+      G_CALLBACK (item_changed_cb), self);
+
   gtk_widget_show (item);
   gtk_container_add (GTK_CONTAINER (self), item);