Merge branch '32-sort-on-name' into 'master'

libmalcontent-ui: Sort apps on the visible name

Closes #32

See merge request pwithnall/malcontent!115
This commit is contained in:
Philip Withnall 2021-02-26 18:20:48 +00:00
commit ff8ec54b22
1 changed files with 2 additions and 2 deletions

View File

@ -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