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
This commit is contained in:
parent
a2235c269a
commit
3309031fd1
@ -268,6 +268,7 @@ var ExtensionManager = class {
|
|||||||
extension.errors.push(message);
|
extension.errors.push(message);
|
||||||
|
|
||||||
logError(error, 'Extension %s'.format(uuid));
|
logError(error, 'Extension %s'.format(uuid));
|
||||||
|
this._updateCanChange(extension);
|
||||||
this.emit('extension-state-changed', extension);
|
this.emit('extension-state-changed', extension);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user