aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-05-25 18:40:49 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-06-14 15:21:47 +0800
commit4d1d36ed1fef6f6e374d0a6c7a961c4c7bbfe980 (patch)
tree520bde581c8bdf4e7d5bb48063df8d41a8bef8a4
parentb8e35bdb2c7e11b37947754afdaef3cd05a68c13 (diff)
downloadgsoc2013-empathy-4d1d36ed1fef6f6e374d0a6c7a961c4c7bbfe980.tar
gsoc2013-empathy-4d1d36ed1fef6f6e374d0a6c7a961c4c7bbfe980.tar.gz
gsoc2013-empathy-4d1d36ed1fef6f6e374d0a6c7a961c4c7bbfe980.tar.bz2
gsoc2013-empathy-4d1d36ed1fef6f6e374d0a6c7a961c4c7bbfe980.tar.lz
gsoc2013-empathy-4d1d36ed1fef6f6e374d0a6c7a961c4c7bbfe980.tar.xz
gsoc2013-empathy-4d1d36ed1fef6f6e374d0a6c7a961c4c7bbfe980.tar.zst
gsoc2013-empathy-4d1d36ed1fef6f6e374d0a6c7a961c4c7bbfe980.zip
roster-view: resort when the alias is changed
-rw-r--r--libempathy-gtk/empathy-roster-view.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-roster-view.c b/libempathy-gtk/empathy-roster-view.c
index 966735e70..8049b8436 100644
--- a/libempathy-gtk/empathy-roster-view.c
+++ b/libempathy-gtk/empathy-roster-view.c
@@ -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);