[empathy] roster-view: resort when the alias is changed
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [empathy] roster-view: resort when the alias is changed
- Date: Thu, 14 Jun 2012 07:49:12 +0000 (UTC)
commit 4d1d36ed1fef6f6e374d0a6c7a961c4c7bbfe980
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Fri May 25 12:40:49 2012 +0200
    roster-view: resort when the alias is changed
 libempathy-gtk/empathy-roster-view.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/libempathy-gtk/empathy-roster-view.c b/libempathy-gtk/empathy-roster-view.c
index 966735e..8049b84 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);
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]