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:
parent
fae8d92aea
commit
e55a044b54
2 changed files with 9 additions and 1 deletions
|
@ -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>
|
2004-04-08 Rodney Dawes <dobey@ximian.com>
|
||||||
|
|
||||||
* gnome-wp-capplet.c (wallpaper_properties_init): Rever the previous
|
* gnome-wp-capplet.c (wallpaper_properties_init): Rever the previous
|
||||||
|
|
|
@ -888,7 +888,7 @@ static gint gnome_wp_list_sort (GtkTreeModel * model,
|
||||||
} else if (!strcmp (bar, "(none)")) {
|
} else if (!strcmp (bar, "(none)")) {
|
||||||
return 1;
|
return 1;
|
||||||
} else {
|
} else {
|
||||||
return strcmp (desca, descb);
|
return g_utf8_collate (desca, descb);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue