[gnome-shell] extensionDownloader: Fix loading of downloaded extensions
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] extensionDownloader: Fix loading of downloaded extensions
- Date: Mon, 2 Jul 2012 22:30:26 +0000 (UTC)
commit 48b83f1ffdb61df3bd47d03b37ee125f70a014d8
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Jun 25 17:57:39 2012 -0400
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
js/ui/extensionDownloader.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/extensionDownloader.js b/js/ui/extensionDownloader.js
index c19559a..ad7c5f5 100644
--- a/js/ui/extensionDownloader.js
+++ b/js/ui/extensionDownloader.js
@@ -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);
});
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]