changeset 10572:ed2b8b432525

[gaim-migrate @ 11963] sf patch #1115944, from Richard Laager Sort Buddies in Chat Invite List committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 04 Feb 2005 05:54:31 +0000
parents ce89d4e568d3
children 2d809781816f
files src/gtkconv.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkconv.c	Fri Feb 04 05:40:32 2005 +0000
+++ b/src/gtkconv.c	Fri Feb 04 05:54:31 2005 +0000
@@ -3246,7 +3246,8 @@
 
 					if (buddy->account == gc->account &&
 							GAIM_BUDDY_IS_ONLINE(buddy))
-						tmp = g_list_append(tmp, buddy->name);
+						tmp = g_list_insert_sorted(tmp, buddy->name,
+												   (GCompareFunc)g_utf8_collate);
 				}
 			}
 		}