changeset 1742:368a7e7cc695

Fix bug 2917164. g_utf8_collate_key_for_filename() don't give sort order one may expect. Using g_utf8_collate_key() make things closer to many other programs output (ie. ls and gqview). Thanks to Michael pointing this out.
author zas_
date Sat, 19 Dec 2009 12:53:20 +0000
parents 9b5eb41f4311
children d8e9d0cc640e
files src/filedata.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/filedata.c	Sat Dec 19 12:49:19 2009 +0000
+++ b/src/filedata.c	Sat Dec 19 12:53:20 2009 +0000
@@ -230,7 +230,7 @@
 	g_free(fd->collate_key_name);
 	g_free(fd->collate_key_name_nocase);
 
-#if GLIB_CHECK_VERSION(2, 8, 0)
+#if 0 && GLIB_CHECK_VERSION(2, 8, 0)
 	fd->collate_key_name = g_utf8_collate_key_for_filename(fd->name, -1);
 	fd->collate_key_name_nocase = g_utf8_collate_key_for_filename(caseless_name, -1);
 #else