[empathy] Invert the presence order.



commit dd5468856810324668718259674b5e78c97b19e7
Author: Xavier Claessens <xclaesse gmail com>
Date:   Tue Jun 2 19:32:10 2009 +0200

    Invert the presence order.
---
 libempathy-gtk/empathy-contact-list-store.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libempathy-gtk/empathy-contact-list-store.c b/libempathy-gtk/empathy-contact-list-store.c
index 8e3b7b3..261b2cc 100644
--- a/libempathy-gtk/empathy-contact-list-store.c
+++ b/libempathy-gtk/empathy-contact-list-store.c
@@ -1354,7 +1354,7 @@ contact_list_store_state_sort_func (GtkTreeModel *model,
 	/* If we managed to get this far, we can start looking at
 	 * the presences.
 	 */
-	ret_val = tp_connection_presence_type_cmp_availability (
+	ret_val = -tp_connection_presence_type_cmp_availability (
 		empathy_contact_get_presence (EMPATHY_CONTACT (contact_a)),
 		empathy_contact_get_presence (EMPATHY_CONTACT (contact_b)));
 



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