mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue