From 48b83f1ffdb61df3bd47d03b37ee125f70a014d8 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Mon, 25 Jun 2012 17:57:39 -0400 Subject: [PATCH] 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 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/ui/extensionDownloader.js b/js/ui/extensionDownloader.js index c19559adb..ad7c5f539 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); }); }