[gnome-shell] main: Load extensions as late as possible
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] main: Load extensions as late as possible
- Date: Mon, 27 Aug 2012 20:43:55 +0000 (UTC)
commit df3fa973ad7913664ca8456028d869b01a13e64e
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Aug 27 16:57:54 2012 -0300
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 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/js/ui/main.js b/js/ui/main.js
index adfaae2..73112f3 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 = [];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]