[gnome-shell] layout: Hide the message tray and OSK during the startup animation



commit 1188b1be36774095d05e3ab18bc1d3d7c96256f1
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Feb 19 19:56:56 2013 -0500

    layout: Hide the message tray and OSK during the startup animation
    
    https://bugzilla.gnome.org/show_bug.cgi?id=694227

 js/ui/layout.js |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/layout.js b/js/ui/layout.js
index bf23034..e3f4803 100644
--- a/js/ui/layout.js
+++ b/js/ui/layout.js
@@ -556,6 +556,9 @@ const LayoutManager = new Lang.Class({
         if (Main.sessionMode.isGreeter) {
             this.panelBox.translation_y = -this.panelBox.height;
         } else {
+            this.trayBox.hide();
+            this.keyboardBox.hide();
+
             let monitor = this.primaryMonitor;
             let x = monitor.x + monitor.width / 2.0;
             let y = monitor.y + monitor.height / 2.0;
@@ -605,6 +608,9 @@ const LayoutManager = new Lang.Class({
         this._consoleBackgroundGroup.destroy();
         this._startingUp = false;
 
+        this.trayBox.show();
+        this.keyboardBox.show();
+
         if (!Main.sessionMode.isGreeter)
             this._createSecondaryBackgrounds();
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]