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:
commit
ff8ec54b22
|
@ -374,8 +374,8 @@ compare_app_info_cb (gconstpointer a,
|
||||||
GAppInfo *app_a = (GAppInfo*) a;
|
GAppInfo *app_a = (GAppInfo*) a;
|
||||||
GAppInfo *app_b = (GAppInfo*) b;
|
GAppInfo *app_b = (GAppInfo*) b;
|
||||||
|
|
||||||
return g_utf8_collate (g_app_info_get_display_name (app_a),
|
return g_utf8_collate (g_app_info_get_name (app_a),
|
||||||
g_app_info_get_display_name (app_b));
|
g_app_info_get_name (app_b));
|
||||||
}
|
}
|
||||||
|
|
||||||
static gint
|
static gint
|
||||||
|
|
Loading…
Reference in New Issue