[gnome-shell] layout: Create the primary background in a not critical location
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] layout: Create the primary background in a not critical location
- Date: Wed, 21 Aug 2013 20:53:13 +0000 (UTC)
commit a8a2b7d7bbfcfcb95129ec115310f8a01aa8971a
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Aug 20 18:29:02 2013 -0400
layout: Create the primary background in a not critical location
The startup animation should be as minimal as possible to prevent
hangups.
js/ui/layout.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/layout.js b/js/ui/layout.js
index 6df7cb6..7176d52 100644
--- a/js/ui/layout.js
+++ b/js/ui/layout.js
@@ -600,6 +600,8 @@ const LayoutManager = new Lang.Class({
if (Main.sessionMode.isGreeter) {
this.panelBox.translation_y = -this.panelBox.height;
} else {
+ this._createPrimaryBackground();
+
// We need to force an update of the regions now before we scale
// the UI group to get the coorect allocation for the struts.
this._updateRegions();
@@ -649,7 +651,6 @@ const LayoutManager = new Lang.Class({
},
_startupAnimationSession: function() {
- this._createPrimaryBackground();
Tweener.addTween(this.uiGroup,
{ scale_x: 1,
scale_y: 1,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]