extensionDownloader: Use uuid lookup method in checkForUpdates()

The extensions variable the code was trying to access was made private
and turned into a map some time ago.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1958
This commit is contained in:
Sebastian Keller 2019-11-28 14:06:12 +01:00 committed by Florian Müllner
parent 9f0ef0044d
commit b4ed8a3d06

View File

@ -154,7 +154,7 @@ function updateExtension(uuid) {
function checkForUpdates() {
let metadatas = {};
Main.extensionManager.getUuids().forEach(uuid => {
metadatas[uuid] = Main.extensionManager.extensions[uuid].metadata;
metadatas[uuid] = Main.extensionManager.lookup(uuid).metadata;
});
let params = { shell_version: Config.PACKAGE_VERSION,