From 3309031fd15033f34daa32d2eaff61b3fd5c234b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sun, 10 May 2020 20:21:03 +0200 Subject: [PATCH] extensionSystem: Update canChange on error Whether or not an extension has errors influences the 'canChange' property, but so far we only update it for errors that occur when initializing the extension, not when an extension is enabled later. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1249 --- js/ui/extensionSystem.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/extensionSystem.js b/js/ui/extensionSystem.js index 5a50b473a..16f5f8a66 100644 --- a/js/ui/extensionSystem.js +++ b/js/ui/extensionSystem.js @@ -268,6 +268,7 @@ var ExtensionManager = class { extension.errors.push(message); logError(error, 'Extension %s'.format(uuid)); + this._updateCanChange(extension); this.emit('extension-state-changed', extension); }