From df3fa973ad7913664ca8456028d869b01a13e64e Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Mon, 27 Aug 2012 16:57:54 -0300 Subject: [PATCH] main: Load extensions as late as possible Since we want extensions to be able to be loaded at any time, that means that the startup case should be as close to the live-time install case. https://bugzilla.gnome.org/show_bug.cgi?id=682822 --- js/ui/main.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/js/ui/main.js b/js/ui/main.js index adfaae2e4..73112f33b 100644 --- a/js/ui/main.js +++ b/js/ui/main.js @@ -233,11 +233,6 @@ function start() { global.screen.override_workspace_layout(Meta.ScreenCorner.TOPLEFT, false, -1, 1); - if (sessionMode.allowExtensions) { - ExtensionDownloader.init(); - ExtensionSystem.loadExtensions(); - } - if (sessionMode.hasRunDialog) { Meta.keybindings_set_custom_handler('panel-run-dialog', function() { getRunDialog().open(); @@ -286,6 +281,11 @@ function start() { global.screen.connect('restacked', _windowsRestacked); _nWorkspacesChanged(); + + if (sessionMode.allowExtensions) { + ExtensionDownloader.init(); + ExtensionSystem.loadExtensions(); + } } let _workspaces = [];