changeset 17395:995f31f5432a

merge of '1c63ff450cd444f6f7b3d9caa86407fca3584491' and 'd1d3db7eb95dffd90aae4031e0574b4aee9fdca1'
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Fri, 25 May 2007 02:22:13 +0000
parents 38c26b0bbb6e (current diff) f9838075117a (diff)
children a307926a3432
files finch/gntblist.c
diffstat 2 files changed, 9 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/finch/gntblist.c	Fri May 25 01:19:12 2007 +0000
+++ b/finch/gntblist.c	Fri May 25 02:22:13 2007 +0000
@@ -1876,9 +1876,10 @@
 	const char *s1, *s2;
 	char *us1, *us2;
 	int ret;
-	
-	g_return_val_if_fail(n1->type == n2->type, -1);
-	
+
+	if (n1->type != n2->type)
+		return blist_node_compare_position(n1, n2);
+
 	switch (n1->type)
 	{
 		case PURPLE_BLIST_CHAT_NODE:
@@ -1911,7 +1912,8 @@
 {
 	int ret;
 
-	g_return_val_if_fail(n1->type == n2->type, -1);
+	if (n1->type != n2->type)
+		return blist_node_compare_position(n1, n2);
 
 	switch (n1->type) {
 		case PURPLE_BLIST_CONTACT_NODE:
@@ -1955,7 +1957,8 @@
 	int ret;
 	PurpleBuddy *b1, *b2;
 
-	g_return_val_if_fail(n1->type == n2->type, -1);
+	if (n1->type != n2->type)
+		return blist_node_compare_position(n1, n2);
 
 	switch (n1->type) {
 		case PURPLE_BLIST_BUDDY_NODE:
--- a/po/ChangeLog	Fri May 25 01:19:12 2007 +0000
+++ b/po/ChangeLog	Fri May 25 02:22:13 2007 +0000
@@ -1,7 +1,7 @@
 Pidgin and Finch: The Pimpin' Penguin IM Clients That're Good for the Soul
 
 version 2.0.1
-	* Chinese (Hong Kong) translation added (Ambrose C. Li, Abelard)
+	* Chinese (Hong Kong) translation added (Ambrose C. Li, Abel Cheung)
 	* Chinese (Simplified) translation updated (Funda Wang)
 	* Chinese (Traditional) translation updated (Ambrose C. Li)
 	* Chinese (Traditional) win32 translation updated (Ambrose C. Li)