Load extensions before the status area is started

Defer starting the status area until all extensions are loaded, so
they can add themselves as status icons.

https://bugzilla.gnome.org/show_bug.cgi?id=621017
This commit is contained in:
Giovanni Campagna 2010-11-28 13:42:29 +01:00
parent 4c2d9ca16e
commit 7810db6b9f

View File

@ -145,7 +145,6 @@ function start() {
windowAttentionHandler = new WindowAttentionHandler.WindowAttentionHandler(); windowAttentionHandler = new WindowAttentionHandler.WindowAttentionHandler();
telepathyClient = new TelepathyClient.Client(); telepathyClient = new TelepathyClient.Client();
panel.startStatusArea();
statusIconDispatcher.start(messageTray.actor); statusIconDispatcher.start(messageTray.actor);
ctrlAltTabManager = new CtrlAltTab.CtrlAltTabManager(); ctrlAltTabManager = new CtrlAltTab.CtrlAltTabManager();
@ -188,6 +187,7 @@ function start() {
ExtensionSystem.init(); ExtensionSystem.init();
ExtensionSystem.loadExtensions(); ExtensionSystem.loadExtensions();
panel.startStatusArea();
panel.startupAnimation(); panel.startupAnimation();
let display = global.screen.get_display(); let display = global.screen.get_display();