From aefe0d3dddbbe12b45185fcd2565a9c5239f56e1 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sat, 18 May 2013 19:28:45 -0400 Subject: [PATCH] layout: Fix indentation https://bugzilla.gnome.org/show_bug.cgi?id=696159 --- js/ui/layout.js | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/js/ui/layout.js b/js/ui/layout.js index dc7120fad..9ad33f131 100644 --- a/js/ui/layout.js +++ b/js/ui/layout.js @@ -611,26 +611,24 @@ const LayoutManager = new Lang.Class({ coordinate: Clutter.BindCoordinate.ALL }); this._systemBackground.actor.add_constraint(constraint); - let signalId = this._systemBackground.connect('loaded', - Lang.bind(this, function() { - this._systemBackground.disconnect(signalId); - this._systemBackground.actor.show(); - global.stage.show(); + let signalId = this._systemBackground.connect('loaded', Lang.bind(this, function() { + this._systemBackground.disconnect(signalId); + this._systemBackground.actor.show(); + global.stage.show(); - this.emit('startup-prepared'); + this.emit('startup-prepared'); - // We're mostly prepared for the startup animation - // now, but since a lot is going on asynchronously - // during startup, let's defer the startup animation - // until the event loop is uncontended and idle. - // This helps to prevent us from running the animation - // when the system is bogged down - GLib.idle_add(GLib.PRIORITY_LOW, - Lang.bind(this, function() { - this._startupAnimation(); - return false; - })); - })); + // We're mostly prepared for the startup animation + // now, but since a lot is going on asynchronously + // during startup, let's defer the startup animation + // until the event loop is uncontended and idle. + // This helps to prevent us from running the animation + // when the system is bogged down + GLib.idle_add(GLib.PRIORITY_LOW, Lang.bind(this, function() { + this._startupAnimation(); + return false; + })); + })); }, _startupAnimation: function() {