apps-menu: Don't override sort order

Keep the order in which GMenu returns loaded apps, so users can
reorder entries in Alacarte.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/27
This commit is contained in:
Florian Müllner
2017-11-25 06:46:29 +01:00
parent eb425ac8a2
commit 8bd35eeb09
-3
View File
@@ -745,9 +745,6 @@ const ApplicationsButton = new Lang.Class({
if (category_menu_id) {
applist = this.applicationsByCategory[category_menu_id];
applist.sort(function(a,b) {
return a.get_name().toLowerCase() > b.get_name().toLowerCase();
});
} else {
applist = new Array();
let favorites = global.settings.get_strv('favorite-apps');