mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
extensionDownloader: Fix loading of downloaded extensions
We refactored the ExtensionSystem API to take an extension object, but forgot to update the downloader. https://bugzilla.gnome.org/show_bug.cgi?id=679099
This commit is contained in:
parent
7da0f398a5
commit
48b83f1ffd
1 changed files with 2 additions and 1 deletions
|
|
@ -91,7 +91,8 @@ function gotExtensionZipFile(session, message, uuid) {
|
|||
global.settings.set_strv(ExtensionSystem.ENABLED_EXTENSIONS_KEY, enabledExtensions);
|
||||
}
|
||||
|
||||
ExtensionSystem.loadExtension(dir, ExtensionUtils.ExtensionType.PER_USER, true);
|
||||
let extension = ExtensionUtils.createExtensionObject(uuid, dir, ExtensionUtils.ExtensionType.PER_USER);
|
||||
ExtensionSystem.loadExtension(extension);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue