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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user