[gnome-shell] extensionDownloader: Use uuid lookup method in checkForUpdates()
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] extensionDownloader: Use uuid lookup method in checkForUpdates()
- Date: Wed, 22 Jan 2020 16:17:46 +0000 (UTC)
commit b4ed8a3d06e9d51fcda8c4b0450cbf7422e01161
Author: Sebastian Keller <skeller src gnome org>
Date: Thu Nov 28 14:06:12 2019 +0100
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
js/ui/extensionDownloader.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/extensionDownloader.js b/js/ui/extensionDownloader.js
index e261573ab3..4661725280 100644
--- a/js/ui/extensionDownloader.js
+++ b/js/ui/extensionDownloader.js
@@ -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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]