mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
extensionSystem: Fix a wrong error message
The extension object is added to the `this._extensions` Map inside `createExtensionObject`, not inside `loadExtension`. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/96
This commit is contained in:
parent
de86920e0e
commit
2a32fb2e72
1 changed files with 1 additions and 1 deletions
|
|
@ -306,7 +306,7 @@ var ExtensionManager = class {
|
|||
let dir = extension.dir;
|
||||
|
||||
if (!extension)
|
||||
throw new Error("Extension was not properly created. Call loadExtension first");
|
||||
throw new Error("Extension was not properly created. Call createExtensionObject first");
|
||||
|
||||
let extensionJs = dir.get_child('extension.js');
|
||||
if (!extensionJs.query_exists(null)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue