Use g_utf8_collate to sort the descriptions, rather than a strcmp, so that

2004-04-10  Rodney Dawes  <dobey@ximian.com>

	* gnome-wp-capplet.c (gnome_wp_list_sort): Use g_utf8_collate to sort
	the descriptions, rather than a strcmp, so that we follow the locale
	settings for LC_COLLATE

	Fixes #139517
This commit is contained in:
Rodney Dawes 2004-04-10 21:15:36 +00:00 committed by Rodney Dawes
parent fae8d92aea
commit e55a044b54
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,11 @@
2004-04-10 Rodney Dawes <dobey@ximian.com>
* gnome-wp-capplet.c (gnome_wp_list_sort): Use g_utf8_collate to sort
the descriptions, rather than a strcmp, so that we follow the locale
settings for LC_COLLATE
Fixes #139517
2004-04-08 Rodney Dawes <dobey@ximian.com>
* gnome-wp-capplet.c (wallpaper_properties_init): Rever the previous

View file

@ -888,7 +888,7 @@ static gint gnome_wp_list_sort (GtkTreeModel * model,
} else if (!strcmp (bar, "(none)")) {
return 1;
} else {
return strcmp (desca, descb);
return g_utf8_collate (desca, descb);
}
}