libmalcontent-ui: Sort apps on the visible name
Previously, we sorted apps based on their display name, but (confusingly) displayed their name. This leads to inconsistencies like Rhythmbox being sorted (in French) as "Lecteur de musique Rhythmbox" which places it between Krita and LibreOffice, but displayed as "Rhythmbox". Fixes #32
This commit is contained in:
parent
b067a84266
commit
fc047e6e67
1 changed files with 2 additions and 2 deletions
|
@ -374,8 +374,8 @@ compare_app_info_cb (gconstpointer a,
|
|||
GAppInfo *app_a = (GAppInfo*) a;
|
||||
GAppInfo *app_b = (GAppInfo*) b;
|
||||
|
||||
return g_utf8_collate (g_app_info_get_display_name (app_a),
|
||||
g_app_info_get_display_name (app_b));
|
||||
return g_utf8_collate (g_app_info_get_name (app_a),
|
||||
g_app_info_get_name (app_b));
|
||||
}
|
||||
|
||||
static gint
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue